+debhelper (1.2.16) unstable; urgency=low
+
+ * dh_installchangelogs: now detects html changelogs and installs them as
+ changelog.html.gz, to comply with latest policy (which I disagree with
+ BTW).
+ * manpages: updated policy version numbers.
+ * dh_installdocs: behavior change: all docs are now installed mode 644.
+ I have looked and it doesn't seem this will actually affect any packages
+ in debian. This is useful only if you want to use dh_installdocs and not
+ dh_fixperms, and that's the only time this behavior change will have any
+ effect, either. (#30118)
+
+ -- Joey Hess <joeyh@master.debian.org> Thu, 3 Dec 1998 23:31:56 -0800
+
debhelper (1.2.15) unstable; urgency=low
* Just a re-upload, last upload failed for some obscure reason.
.TP
.BR dpkg-shlibdeps (1)
.SH "CONFORMS TO"
-Debian policy, version 2.3.0.0
+Debian policy, version 2.5.0.0
.SH AUTHOR
Joey Hess <joeyh@master.debian.org>
doit("install","-p","-m644",$changelog,"$TMP/usr/doc/$PACKAGE/$changelog_name");
if ($upstream) {
- doit("install","-p","-m644",$upstream,"$TMP/usr/doc/$PACKAGE/changelog");
+ if ($upstream=~m/\.html?$/i) {
+ # HTML changelog
+ doit("install","-p","-m644",$upstream,"$TMP/usr/doc/$PACKAGE/changelog.html");
+ }
+ else {
+ doit("install","-p","-m644",$upstream,"$TMP/usr/doc/$PACKAGE/changelog");
+ }
if ($dh{K_FLAG}) {
# Install symlink to original name of the upstream changelog file.
# Use basename in case original file was in a subdirectory or something.
.P
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.
+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.
.SH OPTIONS
.TP
.B debhelper options
.SH "SEE ALSO"
.BR debhelper (1)
.SH "CONFORMS TO"
-Debian policy, version 2.3.0.0
+Debian policy, version 2.5.0.0
.SH AUTHOR
Joey Hess <joeyh@master.debian.org>
.SH "SEE ALSO"
.BR debhelper (1)
.SH "CONFORMS TO"
-Debian policy, version 2.3.0.0
+Debian policy, version 2.5.0.0
.SH AUTHOR
Joey Hess <joeyh@master.debian.org>
.SH "SEE ALSO"
.BR debhelper (1)
.SH "CONFORMS TO"
-Debian policy, version 2.3.0.0
+Debian policy, version 2.5.0.0
.SH AUTHOR
Joey Hess <joeyh@master.debian.org>
if (@docs) {
doit("cp","-a",@docs,"$TMP/usr/doc/$PACKAGE/");
+ doit("chmod","-R","go=rX","$TMP/usr/doc");
+ doit("chmod","-R","u+rw","$TMP/usr/doc");
}
# .Debian is correct, according to policy, but I'm easy.
It's impossible to specify filenames with spaces or other whitespace in them
in debian/docs file. This is more a historical design flaw than a bug.
.SH "CONFORMS TO"
-Debian policy, version 2.3.0.0
+Debian policy, version 2.5.0.0
.SH AUTHOR
Joey Hess <joeyh@master.debian.org>
open (FIND, "find $TMP -type f -name '*.so.*' |");
while (<FIND>) {
chomp;
- ($library, $major)=m#.*/(.*)\.so\.(\d*)\.#;
+ ($library, $major)=m#.*/(.*)\.so\.(\d*)\.?#;
if (defined($dh{M_PARAMS}) && $dh{M_PARAMS} ne '') {
$major=$dh{M_PARAMS};
}
dh_movefiles \- moves files out of debian/tmp into subpackages
.SH SYNOPSIS
.B dh_movefiles
-.I "[debhelper options] [file ..]"
+.I "[debhelper options] [--sourcedir=dir] [file ..]"
.SH "DESCRIPTION"
dh_movefiles is a debhelper program that is responsible for moving files out
-of debian/tmp and into other package build directories. This may be useful
-if your package has a Makefile that installs everything into debian/tmp, and
-you need to break that up into subpackages.
+of debian/tmp or some other directory and into other package build
+directories. This may be useful if your package has a Makefile that installs
+everything into debian/tmp, and you need to break that up into subpackages.
.P
Files named debian/package.files list the files to be moved, separated by
whitespace. The filenames listed should be relative to debian/tmp/. You can
.BR debhelper (1)
for a list of options common to all debhelper commands.
.TP
+.B --sourcedir=dir
+Instead of moveing files out of debian/tmp (the default), this option makes
+it move files out of some other directory. Since the entire contents of
+the sourcedir is moved, specifiying something like --sourcedir=/ is very
+unsafe, so to prevent mistakes, the sourcedir must be a relative filename; it
+cannot begin with a `/'.
+.TP
.B file ..
Lists files to move. The filenames listed should be relative to debian/tmp/.
You can also list directory names, and the whole directory will be moved. You
.TP
.BR dpkg-shlibdeps (1)
.SH "CONFORMS TO"
-Debian policy, version 2.3.0.0
+Debian policy, version 2.5.0.0
.SH AUTHOR
Joey Hess <joeyh@master.debian.org>
.SH "SEE ALSO"
.BR debhelper (1)
.SH "CONFORMS TO"
-Debian policy, version 2.3.0.0
+Debian policy, version 2.5.0.0
.SH AUTHOR
Joey Hess <joeyh@master.debian.org>