From dffd90e48bd1c4bb45cf42b6394478a7d2590b5a Mon Sep 17 00:00:00 2001 From: joey Date: Mon, 27 Nov 2000 03:56:52 +0000 Subject: r392: * DH_COMPAT=3 now enables the following new features which I can't just turn on by default for fear of breaking backwards compatability: - dh_makeshlibs makes the postinst/postrm call ldconfig. Closes: #77154 Patch from Masato Taruishi (modified). If you use this, be sure dh_makeshlibs runs before dh_installdeb; many old rules files have the ordering backwards. - dh_installdeb now causes all files in /etc to be registered as conffiles. - debian/README is now supported: it is treated exactly like debian/README.Debian. Either file is installed as README.Debian in non-native packages, and now as just README in native packages. Closes: #34628 * This is really only the start of the changes for v3, so use with caution.. * dh_du has finally been removed. It has been deprecated for ages, and a grep of the archive shows that nothing is using it except biss-awt and scsh. I filed bugs on both almost exactly a year ago. Those bugs should now be raised to severity important.. * --number option (to dh_installemacsen) is removed. It has been deprecated for a while and nothing uses it. Use --priority instead. --- dh_installdocs | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'dh_installdocs') diff --git a/dh_installdocs b/dh_installdocs index 7af38094..50bc1712 100755 --- a/dh_installdocs +++ b/dh_installdocs @@ -39,10 +39,21 @@ foreach $PACKAGE (@{$dh{DOPACKAGES}}) { $readme_debian=pkgfile($PACKAGE,'README.Debian'); if (! $readme_debian) { $readme_debian=pkgfile($PACKAGE,'README.debian'); + if (! $readme_debian) { + $readme_debian=pkgfile($PACKAGE,'README'); + } } if ($readme_debian) { - doit("install","-g",0,"-o",0,"-m","644","-p","$readme_debian", - "$TMP/usr/share/doc/$PACKAGE/README.Debian"); + if (isnative($PACKAGE)) { + doit("install","-g",0,"-o",0,"-m","644","-p", + $readme_debian, + "$TMP/usr/share/doc/$PACKAGE/README"); + } + else { + doit("install","-g",0,"-o",0,"-m","644","-p", + $readme_debian, + "$TMP/usr/share/doc/$PACKAGE/README.Debian"); + } } $todo=pkgfile($PACKAGE,'TODO'); -- cgit v1.2.3