From 373122de2f3e3a6e937e527044ae3b62ba939c96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Sun, 30 Oct 2016 00:13:42 +0300 Subject: 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. --- plugins/erlydtl.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/erlydtl.mk') 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),) -- cgit v1.2.3