summaryrefslogtreecommitdiff
path: root/dh_clean
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2011-07-17 13:13:10 -0400
committerJoey Hess <joey@kitenet.net>2011-07-17 13:13:10 -0400
commite014b4a64979d5616898d96d6fd38cc29cf885fc (patch)
tree33cfe64b6443750c1c6de2dc20c071c27aceca78 /dh_clean
parentb6711374c61779bbb9f40eaa4c587b357e098b80 (diff)
Remove debhelper.log in compat level 1. Closes: #634155
Diffstat (limited to 'dh_clean')
-rwxr-xr-xdh_clean3
1 files changed, 3 insertions, 0 deletions
diff --git a/dh_clean b/dh_clean
index c18f768..15cdc66 100755
--- a/dh_clean
+++ b/dh_clean
@@ -95,6 +95,9 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
# Remove all debhelper logs.
if (! $dh{D_FLAG} && ! $dh{K_FLAG}) {
complex_doit("rm","-f","debian/*.debhelper.log");
+ if (compat(1)) {
+ doit("rm","-f","debian/debhelper.log");
+ }
}
if (! $dh{D_FLAG}) {