summaryrefslogtreecommitdiff
path: root/dh_clean
diff options
context:
space:
mode:
Diffstat (limited to 'dh_clean')
-rwxr-xr-xdh_clean3
1 files changed, 2 insertions, 1 deletions
diff --git a/dh_clean b/dh_clean
index b0936ecb..a3d8c7be 100755
--- a/dh_clean
+++ b/dh_clean
@@ -86,7 +86,8 @@ if (! $dh{D_FLAG}) {
# Remove some files that were left around by older versions of
# debhelper.
- doit("rm","-f","debian/substvars");
+ doit("rm","-f","debian/substvars")
+ unless excludefile("debian/substvars");
# See if some files that would normally be deleted are excluded.
my $find_options='';