diff options
author | Loïc Hoguin <[email protected]> | 2018-11-23 18:33:16 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2018-11-23 18:33:16 +0100 |
commit | bc6864dcc846aae785599799c653a8f1f9ce0502 (patch) | |
tree | 64de3711a99767e06647ccfcb48466225d43bfc8 | |
parent | ff8ddc2d11a8499b2bf5c4b89c5d97ad2173fd47 (diff) | |
download | erlang.mk-bc6864dcc846aae785599799c653a8f1f9ce0502.tar.gz erlang.mk-bc6864dcc846aae785599799c653a8f1f9ce0502.tar.bz2 erlang.mk-bc6864dcc846aae785599799c653a8f1f9ce0502.zip |
Allow overriding APPS_DIR/DEPS_DIR in apps
-rw-r--r-- | plugins/bootstrap.mk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/bootstrap.mk b/plugins/bootstrap.mk index 17b32b8..e632c9b 100644 --- a/plugins/bootstrap.mk +++ b/plugins/bootstrap.mk @@ -76,9 +76,9 @@ PROJECT_DESCRIPTION = New project PROJECT_VERSION = 0.1.0 # Make sure we know where the applications are located. -ROOT_DIR := $(call core_relpath,$(dir $(ERLANG_MK_FILENAME)),$(APPS_DIR)/app) -APPS_DIR := .. -DEPS_DIR := $(call core_relpath,$(DEPS_DIR),$(APPS_DIR)/app) +ROOT_DIR ?= $(call core_relpath,$(dir $(ERLANG_MK_FILENAME)),$(APPS_DIR)/app) +APPS_DIR ?= .. +DEPS_DIR ?= $(call core_relpath,$(DEPS_DIR),$(APPS_DIR)/app) include $$(ROOT_DIR)/erlang.mk endef |