mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-05 22:48:07 +02:00
Avoid using GNU find extensions.
Replace the complex single find with a series of simple but POSIX correct equivalents.
This commit is contained in:
parent
06382092e5
commit
82397a6314
1 changed files with 6 additions and 8 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue