summaryrefslogtreecommitdiff
path: root/dh_clean
diff options
context:
space:
mode:
authorNiels Thykier <niels@thykier.net>2016-01-09 10:28:52 +0000
committerNiels Thykier <niels@thykier.net>2016-01-09 16:12:08 +0000
commitbca06f8d784fb0d6ac6f1358fc1ea2366fbb774e (patch)
treebcdec53c5b46b71135680d2123a3c5e749919eac /dh_clean
parent084fcd326b9d058ebaef14b5b76fade652062f90 (diff)
dh+compat 10: Drop sequence ctrl and logs
In compat 10, drop the manual sequence ctrl arguments and the debhelper sequence logs. Instead do a simple stamp file to skip the build part if already done. The primary advantage is that now the binary target can trivially be re-run, which makes debugging easier/faster. Closes: #510855 Signed-off-by: Niels Thykier <niels@thykier.net>
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 38dc04af..666766d9 100755
--- a/dh_clean
+++ b/dh_clean
@@ -93,6 +93,9 @@ if ($dh{K_FLAG}) {
warning("dh_clean -k is deprecated; use dh_prep instead");
}
+# Remove the debhelper stamp file
+doit('rm', '-f', 'debian/debhelper-build-stamp') if not $dh{D_FLAG};
+
foreach my $package (@{$dh{DOPACKAGES}}) {
my $tmp=tmpdir($package);
my $ext=pkgext($package);