[PATCH 03/15] build: more efficient clean

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Signed-off-by: Jan Engelhardt <jengelh@xxxxxxx>
---
 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




[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux