diff options
author | Loïc Hoguin <[email protected]> | 2015-08-26 17:10:29 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2015-08-26 17:11:39 +0200 |
commit | e88092a674ebf3572c7bc2ca86177c3e8c16a59c (patch) | |
tree | 85e2cee7a1a6d1a5200780918a05a9bd3761e9cf /core/core.mk | |
parent | d86f65346df71bd5608315fc244ed49cbf7aa431 (diff) | |
download | erlang.mk-e88092a674ebf3572c7bc2ca86177c3e8c16a59c.tar.gz erlang.mk-e88092a674ebf3572c7bc2ca86177c3e8c16a59c.tar.bz2 erlang.mk-e88092a674ebf3572c7bc2ca86177c3e8c16a59c.zip |
Improve the erlydtl plugin
Among the improvements:
* Work with current versions of ErlyDTL
* Add DTL_PATH, defaulting to templates/
* Add DTL_SUFFIX, defaulting to _dtl (suffix of output module names)
* Simplify the Erlang code and port to the erlang function
The erlang function can now accept any command-line argument for
erl as optional second argument.
Diffstat (limited to 'core/core.mk')
-rw-r--r-- | core/core.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/core.mk b/core/core.mk index d0e8ed1..d0c701a 100644 --- a/core/core.mk +++ b/core/core.mk @@ -136,7 +136,7 @@ endef # Adding erlang.mk to make Erlang scripts who call init:get_plain_arguments() happy. define erlang -$(ERL) -pz $(ERLANG_MK_TMP)/rebar/ebin -eval "$(subst $(newline),,$(subst ",\",$(1)))" -- erlang.mk +$(ERL) $(2) -pz $(ERLANG_MK_TMP)/rebar/ebin -eval "$(subst $(newline),,$(subst ",\",$(1)))" -- erlang.mk endef ifeq ($(shell which wget 2>/dev/null | wc -l), 1) |