aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/erlydtl.mk
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2016-10-30 00:13:42 +0300
committerLoïc Hoguin <[email protected]>2016-10-30 00:13:42 +0300
commit373122de2f3e3a6e937e527044ae3b62ba939c96 (patch)
tree9bdea11465eb4621af14fdbc1391872dd1774d15 /plugins/erlydtl.mk
parent1c06eab8369fae4aed56a9583c1ddb8a49e66462 (diff)
downloaderlang.mk-373122de2f3e3a6e937e527044ae3b62ba939c96.tar.gz
erlang.mk-373122de2f3e3a6e937e527044ae3b62ba939c96.tar.bz2
erlang.mk-373122de2f3e3a6e937e527044ae3b62ba939c96.zip
Use := instead of = for list of files
This will make sure we don't look twice. Also make a single call to find the common file formats rather than many calls.
Diffstat (limited to 'plugins/erlydtl.mk')
-rw-r--r--plugins/erlydtl.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/erlydtl.mk b/plugins/erlydtl.mk
index dd9621e..7c09ae3 100644
--- a/plugins/erlydtl.mk
+++ b/plugins/erlydtl.mk
@@ -16,7 +16,7 @@ dtl_verbose = $(dtl_verbose_$(V))
# Core targets.
DTL_PATH := $(abspath $(DTL_PATH))
-DTL_FILES = $(call core_find,$(DTL_PATH),*.dtl)
+DTL_FILES := $(sort $(call core_find,$(DTL_PATH),*.dtl))
ifneq ($(DTL_FILES),)