diff options
author | Loïc Hoguin <[email protected]> | 2017-04-19 18:07:03 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2017-04-19 18:07:03 +0200 |
commit | 28fbb7673a789335992c3c404b724e8a8c5627f0 (patch) | |
tree | b2883c8979d2f6d575274c55c04e25ab375b60b6 /core/deps.mk | |
parent | 7a200f54a9c0a41be4bad93e3ad0b19bbde5267f (diff) | |
download | erlang.mk-28fbb7673a789335992c3c404b724e8a8c5627f0.tar.gz erlang.mk-28fbb7673a789335992c3c404b724e8a8c5627f0.tar.bz2 erlang.mk-28fbb7673a789335992c3c404b724e8a8c5627f0.zip |
Move external plugin loading at the end of erlang.mk
This allows all plugins to append to existing variables
and makes it easier to augment the functionality of the
core plugins.
Diffstat (limited to 'core/deps.mk')
-rw-r--r-- | core/deps.mk | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/core/deps.mk b/core/deps.mk index 3cbcd45..72b75b0 100644 --- a/core/deps.mk +++ b/core/deps.mk @@ -591,18 +591,3 @@ ERLANG_MK_RECURSIVE_DOC_DEPS_LIST = $(ERLANG_MK_TMP)/recursive-doc-deps-list.log ERLANG_MK_RECURSIVE_REL_DEPS_LIST = $(ERLANG_MK_TMP)/recursive-rel-deps-list.log ERLANG_MK_RECURSIVE_TEST_DEPS_LIST = $(ERLANG_MK_TMP)/recursive-test-deps-list.log ERLANG_MK_RECURSIVE_SHELL_DEPS_LIST = $(ERLANG_MK_TMP)/recursive-shell-deps-list.log - -# External plugins. - -DEP_PLUGINS ?= - -define core_dep_plugin --include $(DEPS_DIR)/$(1) - -$(DEPS_DIR)/$(1): $(DEPS_DIR)/$(2) ; -endef - -$(foreach p,$(DEP_PLUGINS),\ - $(eval $(if $(findstring /,$p),\ - $(call core_dep_plugin,$p,$(firstword $(subst /, ,$p))),\ - $(call core_dep_plugin,$p/plugins.mk,$p)))) |