summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchim Gratz <Stromeko@Stromeko.DE>2012-08-22 08:04:56 +0200
committerAchim Gratz <Stromeko@Stromeko.DE>2012-08-22 20:02:48 +0200
commit142a25b3539aeed3ec4c5c635b6bbc44886698ac (patch)
treef9f19fd5d91ebc628d952a216309ded4b3efe0c7
parentdd76fceddcef1535c451e960946d736e25e57061 (diff)
downloadorg-mode-142a25b3539aeed3ec4c5c635b6bbc44886698ac.tar.gz
Makefile: avoid a superfluous fork
* targets.mk: Avoid superfluous fork in implementation of clean targets.
-rw-r--r--targets.mk4
1 files changed, 1 insertions, 3 deletions
diff --git a/targets.mk b/targets.mk
index 68bf289..c1c6c42 100644
--- a/targets.mk
+++ b/targets.mk
@@ -118,9 +118,7 @@ autoloads: lisp
cleandirs:
$(foreach dir, $(SUBDIRS), $(MAKE) -C $(dir) cleanall;)
-clean: cleanrel
- $(MAKE) -C lisp clean
- $(MAKE) -C doc clean
+clean: cleanrel cleanlisp cleandoc
cleanall: cleandirs cleantest
-$(FIND) . \( -name \*~ -o -name \*# -o -name .#\* \) -exec $(RM) {} \;