Browse Source

Makefile: avoid a superfluous fork

* targets.mk: Avoid superfluous fork in implementation of clean
  targets.
Achim Gratz 12 years ago
parent
commit
142a25b353
1 changed files with 1 additions and 3 deletions
  1. 1 3
      targets.mk

+ 1 - 3
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) {} \;