Package: debhelper
Version: 5.0.2
Severity: wishlist
Tags: patch

When automake is run in a subdirectory (as it is in the dcgui package),
autom4te.cache will also be there, so it'd be nice if dh_clean removed it
from the whole tree:

--- debhelper-5.0.2.orig/dh_clean
+++ debhelper-5.0.2/dh_clean
@@ -99,8 +99,8 @@
                \\) $find_options -exec rm -f {} \\;");
 
        # Stupid autoconf cache directory.
-       doit("rm", "-rf", "autom4te.cache")
-               unless excludefile("autom4te.cache");
+       complex_doit("find . -type d -a -name autom4te.cache \\
+               $find_options -prune -exec rm -rf {} \\;");
 }
 
 doit('rm', '-rf', 'debian/tmp') if -x 'debian/tmp' && ! compat(1) &&

Thanks!

Matej


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to