aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/bootstrap.mk
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2018-05-14 13:23:12 +0200
committerLoïc Hoguin <[email protected]>2018-05-14 13:23:12 +0200
commitb92675833b3c5154a1477c18a373420b477c8196 (patch)
treefe719f61520647e16ff7b714815cd7b5e4703e3f /plugins/bootstrap.mk
parentca7fcc22e1eae294a2a05f89b2f95c20f7e2ceb6 (diff)
downloaderlang.mk-b92675833b3c5154a1477c18a373420b477c8196.tar.gz
erlang.mk-b92675833b3c5154a1477c18a373420b477c8196.tar.bz2
erlang.mk-b92675833b3c5154a1477c18a373420b477c8196.zip
Fix use of templates from plugins in apps layout
Diffstat (limited to 'plugins/bootstrap.mk')
-rw-r--r--plugins/bootstrap.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/bootstrap.mk b/plugins/bootstrap.mk
index 8ba8b08..6c26a0f 100644
--- a/plugins/bootstrap.mk
+++ b/plugins/bootstrap.mk
@@ -493,7 +493,7 @@ ifndef n
$(error Usage: $(MAKE) new t=TEMPLATE n=NAME [in=APP])
endif
ifdef in
- $(verbose) $(MAKE) -C $(APPS_DIR)/$(in)/ new t=$t n=$n in=
+ $(call render_template,tpl_$(t),$(APPS_DIR)/$(in)/src/$(n).erl)
else
$(call render_template,tpl_$(t),src/$(n).erl)
endif