From: Stepan Kasal Date: Tue, 15 May 2007 18:46:30 +0000 (+0200) Subject: build-sys: in the clean targets use "find ... | xargs rm -f" X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b9f737e0b28c96ea38af2002cf9d33fbf95c844;p=util-linux build-sys: in the clean targets use "find ... | xargs rm -f" "find ... -exec rm {}" is unnecessarily slow. Signed-off-by: Stepan Kasal --- diff --git a/Makefile.am b/Makefile.am index 490e98bf..1b91651f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -27,12 +27,12 @@ EXTRA_DIST = \ distclean-local: - -find . \( -name \*~ -o -name \*.orig -o -name \*.rej \) -exec rm -f {} \; + -find . -name \*~ -o -name \*.orig -o -name \*.rej | xargs rm -f rm -rf autom4te.cache mrproper: distclean if [ -f ".gitignore" ]; then \ - find -name Makefile.in -exec rm -f {} \; ; \ + find -name Makefile.in | xargs rm -f ; \ rm -f configure ABOUT-NLS ; \ rm -rf m4 ; \ cd config; rm -f `cat ../.gitignore`; cd .. ; \