diff options
author | Thomas Nixon <[email protected]> | 2017-10-26 19:33:56 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2017-11-15 12:59:48 +0100 |
commit | 1a5adc65f04a8c92c4aee6a6115d80120b09a389 (patch) | |
tree | f928a957c65991e6d9bc502f51302202339514f7 /core/erlc.mk | |
parent | ec53835785689559301d4be3e64640c4ffebe45d (diff) | |
download | erlang.mk-1a5adc65f04a8c92c4aee6a6115d80120b09a389.tar.gz erlang.mk-1a5adc65f04a8c92c4aee6a6115d80120b09a389.tar.bz2 erlang.mk-1a5adc65f04a8c92c4aee6a6115d80120b09a389.zip |
Use dep rather than package names in .app files
Diffstat (limited to 'core/erlc.mk')
-rw-r--r-- | core/erlc.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/erlc.mk b/core/erlc.mk index 2545467..b1a8aa5 100644 --- a/core/erlc.mk +++ b/core/erlc.mk @@ -69,7 +69,7 @@ define app_file {id$(comma)$(space)"$(1)"}$(comma)) {modules, [$(call comma_list,$(2))]}, {registered, []}, - {applications, [$(call comma_list,kernel stdlib $(OTP_DEPS) $(LOCAL_DEPS) $(DEPS))]}, + {applications, [$(call comma_list,kernel stdlib $(OTP_DEPS) $(LOCAL_DEPS) $(foreach dep,$(DEPS),$(call dep_name,$(dep))))]}, {env, $(subst \,\\,$(PROJECT_ENV))}$(if $(findstring {,$(PROJECT_APP_EXTRA_KEYS)),$(comma)$(newline)$(tab)$(subst \,\\,$(PROJECT_APP_EXTRA_KEYS)),) ]}. endef @@ -81,7 +81,7 @@ define app_file {id$(comma)$(space)"$(1)"}$(comma)) {modules, [$(call comma_list,$(2))]}, {registered, [$(call comma_list,$(PROJECT)_sup $(PROJECT_REGISTERED))]}, - {applications, [$(call comma_list,kernel stdlib $(OTP_DEPS) $(LOCAL_DEPS) $(DEPS))]}, + {applications, [$(call comma_list,kernel stdlib $(OTP_DEPS) $(LOCAL_DEPS) $(foreach dep,$(DEPS),$(call dep_name,$(dep))))]}, {mod, {$(PROJECT_MOD), []}}, {env, $(subst \,\\,$(PROJECT_ENV))}$(if $(findstring {,$(PROJECT_APP_EXTRA_KEYS)),$(comma)$(newline)$(tab)$(subst \,\\,$(PROJECT_APP_EXTRA_KEYS)),) ]}. |