mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-09-12 04:09:54 +00:00
Makefile: avoid a superfluous fork
* targets.mk: Avoid superfluous fork in implementation of clean targets.
This commit is contained in:
parent
dd76fceddc
commit
142a25b353
|
@ -118,9 +118,7 @@ autoloads: lisp
|
||||||
cleandirs:
|
cleandirs:
|
||||||
$(foreach dir, $(SUBDIRS), $(MAKE) -C $(dir) cleanall;)
|
$(foreach dir, $(SUBDIRS), $(MAKE) -C $(dir) cleanall;)
|
||||||
|
|
||||||
clean: cleanrel
|
clean: cleanrel cleanlisp cleandoc
|
||||||
$(MAKE) -C lisp clean
|
|
||||||
$(MAKE) -C doc clean
|
|
||||||
|
|
||||||
cleanall: cleandirs cleantest
|
cleanall: cleandirs cleantest
|
||||||
-$(FIND) . \( -name \*~ -o -name \*# -o -name .#\* \) -exec $(RM) {} \;
|
-$(FIND) . \( -name \*~ -o -name \*# -o -name .#\* \) -exec $(RM) {} \;
|
||||||
|
|
Loading…
Reference in a new issue