Matej Vela wrote:
> 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) &&I'm not sure that the fairly rare case of automake subdirs is worth the added overhead of running a second find through the whole source tree. Also, the patch doesn't support -X -- see shy jo
signature.asc
Description: Digital signature

