From 15e132da65d0ce115f0b9a12ada848a06d6a195e Mon Sep 17 00:00:00 2001 From: joey Date: Tue, 17 Aug 1999 04:38:16 +0000 Subject: [PATCH] r28: Initial Import --- debian/changelog | 7 +++++++ dh_installdocs | 3 ++- dh_installdocs.1 | 4 ++-- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/debian/changelog b/debian/changelog index 82e193f..ae73986 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +debhelper (0.22) unstable; urgency=low + + * dh_installdocs: Install README.debian as README.Debian (of course, + README.Debian is installed with the same name..) + + -- Joey Hess Tue, 18 Nov 1997 01:23:53 -0500 + debhelper (0.21) unstable; urgency=low * dh_installinit: on removal, fixed how update-rc.d is called. diff --git a/dh_installdocs b/dh_installdocs index bcc2634..153be9a 100755 --- a/dh_installdocs +++ b/dh_installdocs @@ -31,7 +31,8 @@ for PACKAGE in $DH_DOPACKAGES; do # Install these files only into the main package by default. if [ "$PACKAGE" = "$MAINPACKAGE" ]; then if [ -f debian/README.debian ]; then - doit "install -m 644 -p debian/README.debian $TMP/usr/doc/$PACKAGE/" + # .Debian is correct according to policy. + doit "install -m 644 -p debian/README.debian $TMP/usr/doc/$PACKAGE/README.Debian" fi if [ -f debian/README.Debian ]; then doit "install -m 644 -p debian/README.Debian $TMP/usr/doc/$PACKAGE/" diff --git a/dh_installdocs.1 b/dh_installdocs.1 index fc00113..68f3808 100644 --- a/dh_installdocs.1 +++ b/dh_installdocs.1 @@ -12,8 +12,8 @@ dh_installdocs automatically installs debian/copyright if it exists. If dh_installdocs is acting on multiple packages, debian/copyright files will be installed into all packages. .P -Any filenames specified as parameters, as well as debian/README.debian (or -debian/README.Debian) and debian/TODO, if they exist, will be installed into +Any filenames specified as parameters, as well as debian/README.Debian (or +debian/README.debian) and debian/TODO, if they exist, will be installed into the first binary package listed in debian/control, if dh_installdocs is acting on that package. Note that debian/TODO will be installed named TODO.Debian, if the package is not a debian native package. -- 2.39.5