summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Wahl <marcowahlsoft@gmail.com>2017-02-07 23:49:29 +0100
committerMarco Wahl <marcowahlsoft@gmail.com>2017-02-07 23:49:29 +0100
commitba492c9537e903e67fb89a26d65d4b08ec1eacfe (patch)
tree02b3192815ee0f199216de8860dd9380d9898a4d
parentcc14aa6cfe22743a8a78a7126efa9a1da7cc2c14 (diff)
downloadorg-mode-ba492c9537e903e67fb89a26d65d4b08ec1eacfe.tar.gz
Revert commit c90c7a33f53ad88dfcc583ad4c77bec306da0b22
targets.mk: Revert to cleanup at every compile for 'standard' targets. Note: You can do 'dirty' builds with 'make compile-dirty' and 'make test-dirty'. - Disadvantage: these builds may fail due to the missing clean. - Advantage: typically the 'dirty' builds are much faster.
-rw-r--r--mk/targets.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/mk/targets.mk b/mk/targets.mk
index b18b2a5..0ccb6ea 100644
--- a/mk/targets.mk
+++ b/mk/targets.mk
@@ -88,6 +88,8 @@ local.mk:
$(info ======================================================)
-@$(MAKE_LOCAL_MK)
+all compile::
+ $(foreach dir, doc lisp, $(MAKE) -C $(dir) clean;)
compile compile-dirty::
$(MAKE) -C lisp $@
all clean-install::