]> git.donarmstrong.com Git - debhelper.git/commitdiff
r234: Initial Import
authorjoey <joey>
Tue, 17 Aug 1999 05:17:26 +0000 (05:17 +0000)
committerjoey <joey>
Tue, 17 Aug 1999 05:17:26 +0000 (05:17 +0000)
debian/changelog
dh_compress
dh_compress.1
dh_installchangelogs
dh_installchangelogs.1

index d90dcbedea9b5ff9104a05ca0b3b635d2c277ed8..53242d0c341ce067369a303cb9b395187dd00471 100644 (file)
@@ -1,3 +1,12 @@
+debhelper (2.0.09) unstable; urgency=low
+
+  * dh_compress: added some FHS support. Though debhelper doesn't put stuff
+    there (and won't until people come up with a general transition strategy or
+    decide to not have a clean transiotion), dh_compress now compresses
+    various files in /usr/share/{man,doc,info}. (Closes: #40892)
+
+ -- Joey Hess <joeyh@master.debian.org>  Wed,  7 Jul 1999 09:55:03 -0700
+
 debhelper (2.0.08) unstable; urgency=low
 
   * dh_*: redirect cd output to /den/null, because CD can actually output
index 47e2ced23ebb96ce00b573130546cf663b01f308..73b12ba65ad9349f95392d21f94851144d36f511 100755 (executable)
@@ -37,9 +37,10 @@ foreach $PACKAGE (@{$dh{DOPACKAGES}}) {
                # extentions. ".gz", ".z", ".taz", ".tgz", "-gz", "-z", "_z"
                
                push @files, split(/\n/,`
-                       find usr/info usr/share/info usr/man usr/share/man usr/X11*/man usr/share/X11*/man -type f ! -name "*.gz" 2>/dev/null || true;
+                       find usr/info usr/share/info usr/man usr/share/man usr/X11*/man -type f ! -name "*.gz" 2>/dev/null || true;
                        find usr/doc usr/share/doc -type f \\( -size +4k -or -name "changelog*" \\) \\
-                               ! -name "*.htm*" ! -name "*.gif" ! -iname "*.gz" \\
+                               \\( -name changelog.html -or ! -name "*.htm*" \\) \\
+                               ! -name "*.gif" ! -iname "*.gz" \\
                                ! -iname "*.taz" ! -iname "*.tgz" ! -iname "*.z" \\
                                ! -iname "*-gz" ! -iname "*-z" ! -iname "*_z" \\
                                ! -name "copyright" 2>/dev/null || true
index 66f201221377b9d96dbc15a7a807f126c3a2fc55..b0eba3ea7b54d65925988ced099fe8a1cff9bdde 100644 (file)
@@ -27,10 +27,11 @@ Here is a sample debian/compress file that causes dh_compress to compress
 the same files as it would by default. This is a good starting point for
 customization of what files are compressed:
 .PP
- find usr/info usr/share/info usr/man usr/share/man usr/X11*/man usr/share/X11*/man -type f
+ find usr/info usr/share/info usr/man usr/share/man usr/X11*/man -type f
  find usr/doc usr/share/doc -type f \\ 
        \\( -size +4k -or -name "changelog*" \\) \\
-       ! -name "*.htm*" ! -name "*.gif" ! -iname "*.gz" \\
+       \\( -name changelog.html -or ! -name "*.htm*" \\) \\
+       ! -name "*.gif" ! -iname "*.gz" \\
        ! -iname "*.taz" ! -iname "*.tgz" ! -iname "*.z" \\
        ! -name "copyright"
 .SH OPTIONS
index 877aa822c906b43d93dfeaa2479695153e297669..4be52020a292de072c126f5efa7d12de4258a6cb 100755 (executable)
@@ -47,6 +47,8 @@ foreach $PACKAGE (@{$dh{DOPACKAGES}}) {
                        # HTML changelog
                        doit("install","-o","root","-g","root","-p","-m644",
                                $upstream,"$TMP/usr/doc/$PACKAGE/changelog.html");
+                       doit("ln", "-sf", 'changelog.html',
+                               "$TMP/usr/doc/$PACKAGE/changelog");
                }
                else {
                        doit("install","-o","root","-g","root","-p","-m644",
index 436ba9476126e431cf69984e1050292e5a555e3d..b346eef703238e5df78c7a78ee2c9ee38cf4f010 100644 (file)
@@ -19,7 +19,8 @@ If an upstream changelog file is specified as an option, and the package is
 not a native debian package, then this upstream changelog will be installed
 as usr/doc/package/changelog in the package build directory. If the
 changelog is a html file (determined by file extention), it will be
-installed as usr/doc/package/changelog.html instead.
+installed as usr/doc/package/changelog.html instead (with a link to
+usr/doc/package/changelog).
 .SH OPTIONS
 .TP
 .B debhelper options