From bca06f8d784fb0d6ac6f1358fc1ea2366fbb774e Mon Sep 17 00:00:00 2001 From: Niels Thykier Date: Sat, 9 Jan 2016 10:28:52 +0000 Subject: 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 --- dh_clean | 3 +++ 1 file changed, 3 insertions(+) (limited to 'dh_clean') 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); -- cgit v1.2.3