aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/bootstrap.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/plugins/bootstrap.mk b/plugins/bootstrap.mk
index 88d71b2..17b32b8 100644
--- a/plugins/bootstrap.mk
+++ b/plugins/bootstrap.mk
@@ -75,7 +75,12 @@ PROJECT = $p
PROJECT_DESCRIPTION = New project
PROJECT_VERSION = 0.1.0
-include $(call core_relpath,$(dir $(ERLANG_MK_FILENAME)),$(APPS_DIR)/app)/erlang.mk
+# 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)
+
+include $$(ROOT_DIR)/erlang.mk
endef
define bs_app