[cairo-commit] test/Makefile.am

Chris Wilson ickle at kemper.freedesktop.org
Wed Apr 11 16:55:20 PDT 2007


 test/Makefile.am |   14 ++++++--------
 1 files changed, 6 insertions(+), 8 deletions(-)

New commits:
diff-tree 82397a631410af343f14cafdb31f48de9373f4a7 (from 06382092e5e911ad2648f26e8ba5a6f8f7953e1b)
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Thu Apr 12 00:55:04 2007 +0100

    Avoid using GNU find extensions.
    
    Replace the complex single find with a series of simple but POSIX correct
    equivalents.

diff --git a/test/Makefile.am b/test/Makefile.am
index d43f774..3a7deae 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -525,14 +525,12 @@ CLEANFILES =					\
 
 # most systems cannot handle all of our clean files together
 clean-local:
-	-find . \
-	    \( -name '*.ps' -print0 \) , \
-	    \( -name '*.pdf' -print0 \) , \
-	    \( -name '*.svg' -print0 \) , \
-	    \( -name '*-out.png' -print0 \) , \
-	    \( -name '*-diff.png' -print0 \) , \
-	    \( -name '*.log' -print0 \) \
-	    | xargs -0 rm -f
+	-find . -name '*.ps' -print | xargs rm
+	-find . -name '*.pdf' -print | xargs rm
+	-find . -name '*.svg' -print | xargs rm
+	-find . -name '*-out.png' -print | xargs rm
+	-find . -name '*-diff.png' -print | xargs rm
+	-find . -name '*.log' -print | xargs rm
 
 # Check tests under valgrind
 # Saves log to valgrind-log


More information about the cairo-commit mailing list