[PATCH] Tidy up some missing loose ends re: cleaning.

walter harms wharms at bfs.de
Fri Jul 18 09:48:41 UTC 2008


there is something called MRPROPER_FILES. maybe a better place ?

more thinking about that there is a CLEAN_DIR and CLEAN_FILE why is there
a find statement ? what is additonal to find ?

re,
 wh


Robert P. J. Day wrote:
> Add some extra files to remove for "make distclean", and add an entry
> for mrproper to "make help".
> 
> Signed-off-by: Robert P. J. Day <rpjday at crashcourse.ca>
> 
> ---
> 
> Index: svn/Makefile
> ===================================================================
> --- svn/Makefile	(revision 22872)
> +++ svn/Makefile	(working copy)
> @@ -983,11 +983,13 @@
>  PHONY += distclean
> 
>  distclean: mrproper
> +	@rm -rf _install
>  	@find $(srctree) $(RCS_FIND_IGNORE) \
>  		\( -name '*.orig' -o -name '*.rej' -o -name '*~' \
>  		-o -name '*.bak' -o -name '#*#' -o -name '.*.orig' \
>  		-o -name '.*.rej' -o -name '*.tmp' -o -size 0 \
> -		-o -name '*%' -o -name '.*.cmd' -o -name 'core' \) \
> +		-o -name '*%' -o -name '.*.cmd' -o -name 'core' \
> +		-o -name 'busybox.links' \) \
>  		-type f -print | xargs rm -f
> 
> 
> Index: svn/Makefile.help
> ===================================================================
> --- svn/Makefile.help	(revision 22872)
> +++ svn/Makefile.help	(working copy)
> @@ -5,6 +5,7 @@
>  help:
>  	@echo 'Cleaning:'
>  	@echo '  clean			- delete temporary files created by build'
> +	@echo '  mrproper		- delete current config, and all generated files'
>  	@echo '  distclean		- delete all non-source files (including .config)'
>  	@echo
>  	@echo 'Build:'
> 
> 
> ========================================================================
> Robert P. J. Day
> Linux Consulting, Training and Annoying Kernel Pedantry:
>     Have classroom, will lecture.
> 
> http://crashcourse.ca                          Waterloo, Ontario, CANADA
> ========================================================================
> _______________________________________________
> busybox mailing list
> busybox at busybox.net
> http://busybox.net/cgi-bin/mailman/listinfo/busybox
> 
> 
> 



More information about the busybox mailing list