summaryrefslogtreecommitdiff
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
parentb6711374c61779bbb9f40eaa4c587b357e098b80 (diff)
Remove debhelper.log in compat level 1. Closes: #634155
-rw-r--r--debian/changelog1
-rwxr-xr-xdh_clean3
2 files changed, 4 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index c888021..a45a71a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ debhelper (8.9.1) UNRELEASED; urgency=low
* dh: In v9, do not enable any python support commands. Closes: #634106
* Now the QT4 version of qmake can be explicitly selected by passing
--buildsystem=qmake_qt4. Closes: #566840
+ * Remove debhelper.log in compat level 1. Closes: #634155
-- Joey Hess <joeyh@debian.org> Mon, 04 Jul 2011 12:16:48 -0400
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}) {