svn commit: trunk/busybox

landley at busybox.net landley at busybox.net
Thu Mar 9 22:01:12 UTC 2006


Author: landley
Date: 2006-03-09 14:01:05 -0800 (Thu, 09 Mar 2006)
New Revision: 14495

Log:
Cleanup from Paul Fox.  One find piped to xargs is faster/simpler than
lots of finds doing individual -exec rm.


Modified:
   trunk/busybox/Makefile


Changeset:
Modified: trunk/busybox/Makefile
===================================================================
--- trunk/busybox/Makefile	2006-03-09 18:20:43 UTC (rev 14494)
+++ trunk/busybox/Makefile	2006-03-09 22:01:05 UTC (rev 14495)
@@ -441,18 +441,14 @@
 	    libbusybox.so* \
 	    .config.old busybox busybox_unstripped
 	- rm -r -f _install testsuite/links
-	- find . -name .\*.flags -exec rm -f {} \;
-	- find . -name \*.o -exec rm -f {} \;
-	- find . -name \*.om -exec rm -f {} \;
-	- find . -name \*.os -exec rm -f {} \;
-	- find . -name \*.osm -exec rm -f {} \;
-	- find . -name \*.a -exec rm -f {} \;
+	- find . -name .\*.flags -o -name \*.o  -o -name \*.om \
+	    -o -name \*.os -o -name \*.osm -o -name \*.a | xargs rm -f
 
 distclean: clean
 	- $(MAKE) -C scripts/config clean
 	- rm -f scripts/bb_mkdep
 	- rm -r -f include/config $(DEP_INCLUDES)
-	- find . -name .depend'*' -exec rm -f {} \;
+	- find . -name .depend'*' | xargs rm -f 
 	rm -f .config .config.old .config.cmd
 
 release: distclean #doc




More information about the busybox-cvs mailing list