git.annexia.org
/
goals.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
349ba0f
)
build: Run make clean in parallel.
author
Richard W.M. Jones
<rjones@redhat.com>
Sun, 12 Jan 2020 18:01:41 +0000
(18:01 +0000)
committer
Richard W.M. Jones
<rjones@redhat.com>
Sun, 12 Jan 2020 18:29:04 +0000
(18:29 +0000)
Goalfile.in
patch
|
blob
|
history
diff --git
a/Goalfile.in
b/Goalfile.in
index
d38e70f
..
38570aa
100644
(file)
--- a/
Goalfile.in
+++ b/
Goalfile.in
@@
-29,13
+29,15
@@
goal all = : "Goalfile", tool, documentation;
./config.status %@
}
-goal clean = {
- for d in %subdirs; do
- pushd $d
- rm -f *~
- rm -f *.cmi *.cmo *.cmx *.o
- popd
- done
+goal clean = : wrap ("clean-subdir", subdirs), clean-subdir ("."), clean-other
+
+goal clean-subdir (dir) = {
+ cd %dir
+ rm -f *~
+ rm -f *.cmi *.cmo *.cmx *.o
+}
+
+goal clean-other = {
rm -f src/parser.ml src/parser.mli src/lexer.ml src/parser.conflicts
rm -f man/*.1 man/*.5
rm -f tests/*.log