]> git.donarmstrong.com Git - debhelper.git/commitdiff
r555: * dh_compress: Exclude .css files, to prevent broken links from html files,
authorjoey <joey>
Sat, 5 Oct 2002 18:57:34 +0000 (18:57 +0000)
committerjoey <joey>
Sat, 5 Oct 2002 18:57:34 +0000 (18:57 +0000)
     and since they are generally small, and since this matches existing
     practice. Closes: #163303

debian/changelog
dh_compress

index 0903a8b39f5fef0bced30ccf5c17a8e4587d9758..2ccd1ef9c6fa16b3cc12b880900a261f36d21cee 100644 (file)
@@ -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 <joeyh@debian.org>  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
index 5c04e0c3ffef9108006e6d124539509c9fbf7617..eaa17177b5b7bc41cdc6b8fc7145df1cb651a79b 100755 (executable)
@@ -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;
                `);