diff options
author | joey <joey> | 2002-10-05 18:57:34 +0000 |
---|---|---|
committer | joey <joey> | 2002-10-05 18:57:34 +0000 |
commit | 550df8e800f56e2bab70601a043142e3b2c92074 (patch) | |
tree | 452366d99826918aa56e47cf8c417083b0775630 /dh_compress | |
parent | 65ccc28c2f9abfdf88e7250b55ce3b7561e68a6f (diff) | |
download | debhelper-550df8e800f56e2bab70601a043142e3b2c92074.tar.gz |
r555: * dh_compress: Exclude .css files, to prevent broken links from html files,
and since they are generally small, and since this matches existing
practice. Closes: #163303
Diffstat (limited to 'dh_compress')
-rwxr-xr-x | dh_compress | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/dh_compress b/dh_compress index 5c04e0c3..eaa17177 100755 --- a/dh_compress +++ b/dh_compress @@ -24,9 +24,9 @@ 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, -(except the copyright file, .html 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/ +(except the copyright file, .html and .css 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/ If a debian/package.compress file exists, however, it will be ran as a shell script, and all filenames that the shell script outputs will be compressed @@ -101,7 +101,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) { ! -iname "*.jpeg" ! -iname "*.gz" ! -iname "*.taz" \\ ! -iname "*.tgz" ! -iname "*.z" ! -iname "*.bz2" \\ ! -iname "*-gz" ! -iname "*-z" ! -iname "*_z" \\ - ! -iname "*.jar" ! -iname "*.zip" \\ + ! -iname "*.jar" ! -iname "*.zip" ! -iname "*.css" \\ ! -name "copyright" 2>/dev/null || true; find usr/X11R6/lib/X11/fonts -type f -name "*.pcf" 2>/dev/null || true; `); |