]> git.donarmstrong.com Git - debhelper.git/blobdiff - dh_compress
dh_makeshlibs: Make -X also exclude libraries from the symbols file. Closes: #557603...
[debhelper.git] / dh_compress
index f624a175393585dad3cedfbb9184c45d54ddddc0..efeca8ac7ed91d85fabb70b1801c2acf3ac7424e 100755 (executable)
@@ -23,11 +23,10 @@ to the new files.
 
 By default, dh_compress compresses files that debian policy mandates should
 be compressed, namely all files in usr/share/info, usr/share/man,
-usr/X11R6/man, files in usr/share/doc that are larger than 4k in size,
+files in usr/share/doc that are larger than 4k in size,
 (except the copyright file, .html and .css files, image files, and files
 that appear to be already compressed based on their extensions), and all
-changelog files. Plus PCF fonts underneath usr/X11R6/lib/X11/fonts/ and
-usr/share/fonts/X11/
+changelog files. Plus PCF fonts underneath usr/share/fonts/X11/
 
 =head1 FILES
 
@@ -42,6 +41,8 @@ package build directory. Note though that using -X is a much better idea in
 general; you should only use a debian/package.compress file if you really
 need to.
 
+=back
+
 =head1 OPTIONS
 
 =over 4
@@ -112,7 +113,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
                                ! -iname "*.svg" ! -iname "*.svgz" \\
                                ! -name "index.sgml" \\
                                ! -name "copyright" 2>/dev/null || true;
-                       find usr/X11R6/lib/X11/fonts usr/share/fonts/X11 -type f -name "*.pcf" 2>/dev/null || true;
+                       find usr/share/fonts/X11 -type f -name "*.pcf" 2>/dev/null || true;
                `);
        }