]> git.donarmstrong.com Git - debhelper.git/commitdiff
r593: * dh_clean: make -X work for debian/substvars file.
authorjoey <joey>
Fri, 4 Jul 2003 02:07:45 +0000 (02:07 +0000)
committerjoey <joey>
Fri, 4 Jul 2003 02:07:45 +0000 (02:07 +0000)
debian/changelog
dh_clean

index dce23075b43bfd545651c6f7711841d79f1dd869..d92f9b79920bb7ec6640e3a3c9c094de1d3fc0c9 100644 (file)
@@ -1,3 +1,9 @@
+debhelper (4.1.50) unstable; urgency=low
+
+  * dh_clean: make -X work for debian/substvars file.
+
+ -- Joey Hess <joeyh@debian.org>  Thu,  3 Jul 2003 22:05:32 -0400
+
 debhelper (4.1.49) unstable; urgency=low
 
   * dh_installman: Don't require trailing whitespace after the seciton number
index b0936ecb31fc25c51fc696430fb1900ec6c632b7..a3d8c7bec3f21b7991598a4850f5055f6b9ff114 100755 (executable)
--- 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='';