summaryrefslogtreecommitdiff
path: root/dh_installdocs
diff options
context:
space:
mode:
authorjoey <joey>2005-06-13 19:59:53 +0000
committerjoey <joey>2005-06-13 19:59:53 +0000
commit1153ddb381f7e854b125791a5ff9be6b81d87cc3 (patch)
tree729e1875ff43f2735f8c1f8ca1bcfa96e14c2732 /dh_installdocs
parent46a21fd82209577d6ba69c79d243889ea4f3d332 (diff)
r1763: releasing version 4.9.0
Diffstat (limited to 'dh_installdocs')
-rwxr-xr-xdh_installdocs1
1 files changed, 1 insertions, 0 deletions
diff --git a/dh_installdocs b/dh_installdocs
index f1c66197..52d1675f 100755
--- a/dh_installdocs
+++ b/dh_installdocs
@@ -127,6 +127,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
}
foreach my $doc (@docs) {
next if excludefile($doc);
+ next if ! -s $doc && ! compat(4); # ignore empty BUGS, etc
if (-d $doc && $exclude) {
my ($dir_basename) = basename($doc);
# Pity there's no cp --exclude ..