build-sys: in the clean targets use "find ... | xargs rm -f"

"find ... -exec rm {}" is unnecessarily slow.

Signed-off-by: Stepan Kasal <skasal@redhat.com>
This commit is contained in:
Stepan Kasal 2007-05-15 20:46:30 +02:00 committed by Karel Zak
parent 6fcc950571
commit 0b9f737e0b
1 changed files with 2 additions and 2 deletions

View File

@ -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 .. ; \