]> git.donarmstrong.com Git - debhelper.git/commitdiff
r524: * Make dh_clean remove autom4te.cache.
authorjoey <joey>
Wed, 22 May 2002 18:18:38 +0000 (18:18 +0000)
committerjoey <joey>
Wed, 22 May 2002 18:18:38 +0000 (18:18 +0000)
debian/changelog
dh_clean

index aeb300880a230b0ad297a4ca7781766c9411e355..c165b3f8a3d6ef4000211618e816bc55da5bfaa2 100644 (file)
@@ -1,3 +1,9 @@
+debhelper (4.0.6) unstable; urgency=low
+
+  * Make dh_clean remove autom4te.cache.
+
+ -- Joey Hess <joeyh@debian.org>  Wed, 22 May 2002 14:08:33 -0400
+
 debhelper (4.0.5) unstable; urgency=low
 
   * Removing perl warning message.
index d0af17d1d9a73532ea35ffcc06a61c86f86e7f57..fd9f86f126daafbcf4ca243e90efe2f37dc549d5 100755 (executable)
--- a/dh_clean
+++ b/dh_clean
@@ -104,6 +104,10 @@ if (! $dh{D_FLAG}) {
                 -o -name .*.orig -o -name .*.rej -o -name .SUMS
                 -o -name TAGS -o -name core -o ( -path */.deps/* -a -name *.P )
                ) $find_options -exec rm -f {} ;"));
+
+       # Stupid autoconf cache directory.
+       doit("rm", "-rf", "autom4te.cache")
+               unless excludefile("autom4te.cache");
 }
 
 doit('rm', '-rf', 'debian/tmp') if -x 'debian/tmp' && ! compat(1);