]> git.donarmstrong.com Git - debhelper.git/blobdiff - dh_clean
r524: * Make dh_clean remove autom4te.cache.
[debhelper.git] / dh_clean
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);