+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
# 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
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
# 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",
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