summaryrefslogtreecommitdiff
path: root/dh_installdocs
diff options
context:
space:
mode:
authorjoey <joey>2000-11-27 20:06:04 +0000
committerjoey <joey>2000-11-27 20:06:04 +0000
commit858d4ccaeb04f9c2ea9dd4083aca06dac25037e5 (patch)
tree138e7fa455fe48e7da16082e5c56a667d2a2f202 /dh_installdocs
parent8ce86a9b3b01893d90c109d726c7ddcfb31538a8 (diff)
r394: * Reverted the change to make debian/README be treated as README.Debian,
after I learned people use it for eg, documenting the source package itself. Closes: #34628, since it seems this is not such an "incredibly minor" change after all. Never underetimate the annoyance of backwards-compatability.
Diffstat (limited to 'dh_installdocs')
-rwxr-xr-xdh_installdocs15
1 files changed, 2 insertions, 13 deletions
diff --git a/dh_installdocs b/dh_installdocs
index 50bc1712..7af38094 100755
--- a/dh_installdocs
+++ b/dh_installdocs
@@ -39,21 +39,10 @@ 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) {
- 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");
- }
+ doit("install","-g",0,"-o",0,"-m","644","-p","$readme_debian",
+ "$TMP/usr/share/doc/$PACKAGE/README.Debian");
}
$todo=pkgfile($PACKAGE,'TODO');