From 0b9f737e0b28c96ea38af2002cf9d33fbf95c844 Mon Sep 17 00:00:00 2001 From: Stepan Kasal Date: Tue, 15 May 2007 20:46:30 +0200 Subject: [PATCH] build-sys: in the clean targets use "find ... | xargs rm -f" "find ... -exec rm {}" is unnecessarily slow. Signed-off-by: Stepan Kasal --- Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 .. ; \ -- 2.39.5