diff options
author | Loïc Hoguin <[email protected]> | 2018-11-26 17:18:44 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2018-11-26 17:18:44 +0100 |
commit | 06b5c19d63ac6d26543301ed70d6dfb637363016 (patch) | |
tree | 46b3db2275672d42025612b70ee1e84aa3c5c39a /core/compat.mk | |
parent | f1ff84ab745b0dfacd56be0fb41f035e764240a3 (diff) | |
download | erlang.mk-06b5c19d63ac6d26543301ed70d6dfb637363016.tar.gz erlang.mk-06b5c19d63ac6d26543301ed70d6dfb637363016.tar.bz2 erlang.mk-06b5c19d63ac6d26543301ed70d6dfb637363016.zip |
Rename render_template to core_render and move into core
Also remove the last instance of an "eval export" that pollutes
the environment and use the new core_render for it instead.
core_render does not include $(verbose) as this needs to be
different depending on who calls it. It's now set explicitly
everywhere required.
Diffstat (limited to 'core/compat.mk')
-rw-r--r-- | core/compat.mk | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/core/compat.mk b/core/compat.mk index 37a73a7..906faac 100644 --- a/core/compat.mk +++ b/core/compat.mk @@ -28,8 +28,5 @@ $(call comma_list,$(foreach d,$(DEPS),\ {erl_opts, $(call compat_erlc_opts_to_list,$(ERLC_OPTS))}. endef -$(eval _compat_rebar_config = $$(compat_rebar_config)) -$(eval export _compat_rebar_config) - rebar.config: - $(gen_verbose) echo "$${_compat_rebar_config}" > rebar.config + $(gen_verbose) $(call core_render,compat_rebar_config,rebar.config) |