summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoey <joey>2003-07-04 02:07:45 +0000
committerjoey <joey>2003-07-04 02:07:45 +0000
commit22c796dbc9758902b6a95f1a7ed5a2a4c9e869d9 (patch)
tree7b557823f31cbad4d13fe9c9663a85de965608a2
parentb6faf9b91d6c9ee40a648697db808cb2ce4b40cf (diff)
downloaddebhelper-22c796dbc9758902b6a95f1a7ed5a2a4c9e869d9.tar.gz
r593: * dh_clean: make -X work for debian/substvars file.
-rw-r--r--debian/changelog6
-rwxr-xr-xdh_clean3
2 files changed, 8 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index dce23075..d92f9b79 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -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
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='';