mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-08 03:18:05 +02:00
Use find | xargs to overcome shell command line limit.
Once again we have hit the command line limit with the sheer volume of generated test output. So replace the glob with a find which has the additional advantage of only needing to walk the tree once to generate the file lists - this begins to be noticeable with such large directories.
This commit is contained in:
parent
61b8e34613
commit
b745126a04
1 changed files with 9 additions and 7 deletions
|
|
@ -523,14 +523,16 @@ CLEANFILES = \
|
|||
$(EXTRA_LTLIBRARIES) \
|
||||
$(EXTRA_PROGRAMS)
|
||||
|
||||
# some systems cannot handle all of our clean files together
|
||||
# most systems cannot handle all of our clean files together
|
||||
clean-local:
|
||||
-$(RM) *.ps
|
||||
-$(RM) *.pdf
|
||||
-$(RM) *.svg
|
||||
-$(RM) *-out.png
|
||||
-$(RM) *-diff.png
|
||||
-$(RM) *.log
|
||||
-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
|
||||
|
||||
# Check tests under valgrind
|
||||
# Saves log to valgrind-log
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue