aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/erlydtl.mk
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2018-12-10 13:52:59 +0100
committerLoïc Hoguin <[email protected]>2018-12-10 13:52:59 +0100
commita11c6fb7f9ee084fe87bdcba32529358d9fab64e (patch)
tree80c309fc48978fe3293a01e49dd7a7bda958ee0f /plugins/erlydtl.mk
parent7799804277e6fd38d308ebd581d194c38cd3fbb4 (diff)
downloaderlang.mk-a11c6fb7f9ee084fe87bdcba32529358d9fab64e.tar.gz
erlang.mk-a11c6fb7f9ee084fe87bdcba32529358d9fab64e.tar.bz2
erlang.mk-a11c6fb7f9ee084fe87bdcba32529358d9fab64e.zip
Optimization: reduce the number of shell commands on noops
Diffstat (limited to 'plugins/erlydtl.mk')
-rw-r--r--plugins/erlydtl.mk3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/erlydtl.mk b/plugins/erlydtl.mk
index 3a8b705..466b634 100644
--- a/plugins/erlydtl.mk
+++ b/plugins/erlydtl.mk
@@ -27,8 +27,7 @@ BEAM_FILES += $(addsuffix .beam,$(addprefix ebin/,$(DTL_MODULES)))
ifneq ($(words $(DTL_FILES)),0)
# Rebuild templates when the Makefile changes.
-$(ERLANG_MK_TMP)/last-makefile-change-erlydtl: $(MAKEFILE_LIST)
- $(verbose) mkdir -p $(ERLANG_MK_TMP)
+$(ERLANG_MK_TMP)/last-makefile-change-erlydtl: $(MAKEFILE_LIST) | $(ERLANG_MK_TMP)
$(verbose) if test -f $@; then \
touch $(DTL_FILES); \
fi