From 550df8e800f56e2bab70601a043142e3b2c92074 Mon Sep 17 00:00:00 2001 From: joey Date: Sat, 5 Oct 2002 18:57:34 +0000 Subject: [PATCH] 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 --- debian/changelog | 8 ++++++++ dh_compress | 8 ++++---- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/debian/changelog b/debian/changelog index 0903a8b..2ccd1ef 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +debhelper (4.1.15) unstable; urgency=low + + * 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 + + -- Joey Hess Sat, 5 Oct 2002 15:04:44 -0400 + debhelper (4.1.14) unstable; urgency=low * dh_fixperms: Make sure .pm files are 0644. Closes: #163418 diff --git a/dh_compress b/dh_compress index 5c04e0c..eaa1717 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; `); -- 2.39.2