]> git.donarmstrong.com Git - debhelper.git/blobdiff - dh_clean
updates
[debhelper.git] / dh_clean
index cb1b95027ebd5d5a027480ef57fac8b283292b66..e20d988f299c32b21b58f6b94e9d754a1758d603 100755 (executable)
--- a/dh_clean
+++ b/dh_clean
@@ -1,5 +1,5 @@
 #!/usr/bin/perl -w
-
+exit 1;
 =head1 NAME
 
 dh_clean - clean up package build directories
@@ -73,6 +73,10 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
                # These are all debhelper temp files, and so it is safe to 
                # wildcard them.
                complex_doit("rm -f debian/$ext*.debhelper");
+               
+               if (! $dh{K_FLAG}) {
+                       doit("rm","-f","debian/${ext}debhelper.log");
+               }
        }
        
        doit ("rm","-rf",$tmp."/")