[Gluster-devel] [PATCH 03/15] build: more efficient clean

Jan Engelhardt jengelh at inai.de
Tue Sep 25 16:41:01 UTC 2012


find on Solaris, while not supporting find -delete, does know about the
"+" syntax.

Signed-off-by: Jan Engelhardt <jengelh at inai.de>
---
 Makefile.am |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 836f17e..b8a847a 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -12,9 +12,9 @@ pkgconfig_DATA = glusterfs-api.pc
 CLEANFILES =
 
 gitclean: distclean
-	find . -name Makefile.in -exec rm -f {} \;
-	find . -name Makefile -exec rm -f {} \;
-	find . -name mount.glusterfs -exec rm -f {} \;
+	find . -name Makefile.in -exec rm -f {} +
+	find . -name Makefile -exec rm -f {} +
+	find . -name mount.glusterfs -exec rm -f {} +
 	rm -fr autom4te.cache
 	rm -f missing aclocal.m4 config.h.in config.guess config.sub ltmain.sh install-sh configure depcomp
 	rm -fr argp-standalone/autom4te.cache
-- 
1.7.10.4





More information about the Gluster-devel mailing list