summaryrefslogtreecommitdiff
path: root/dh_clean
diff options
context:
space:
mode:
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 c18f7686..15cdc661 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}) {