On Friday 14 May 2010 01:45, Peter Tyser wrote:
> Previously these auto-generated files were left behind after a 'make
> mrproper' was ran.
> 
> Signed-off-by: Peter Tyser <[email protected]>
> ---
>  Makefile |    4 ++++
>  1 files changed, 4 insertions(+), 0 deletions(-)
> 
> diff --git a/Makefile b/Makefile
> index da8f7d7..3b577fe 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -1001,6 +1001,10 @@ $(mrproper-dirs):
>  mrproper: clean archmrproper $(mrproper-dirs)
>       $(call cmd,rmdirs)
>       $(call cmd,rmfiles)
> +     @find . \( -name 'Config.src' \) -type f -print | \
> +             sed 's/.src/.in/' | xargs rm -f
> +     @find . \( -name 'Kbuild.src' \) -type f -print | \
> +             sed 's/.src//' | xargs rm -f
>  
>  # distclean
>  #

Applied in the form

        @find -name Config.src | sed 's/.src$/.in/' | xargs -r rm -f
        @find -name Kbuild.src | sed 's/.src$//' | xargs -r rm -f

Thanks!
-- 
vda
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to