aboutsummaryrefslogtreecommitdiffstats
path: root/core/core.mk
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2017-05-15 14:37:40 +0200
committerLoïc Hoguin <[email protected]>2017-05-15 14:37:40 +0200
commit3f8688e0d0526b74993d64a166e9ba8559c687e4 (patch)
treeedeb6926266d2c05afd1ccd3f8133ef1c822c058 /core/core.mk
parentecd4344f3ef7e1b12e6506dd0b5d6e644894b9e0 (diff)
downloaderlang.mk-3f8688e0d0526b74993d64a166e9ba8559c687e4.tar.gz
erlang.mk-3f8688e0d0526b74993d64a166e9ba8559c687e4.tar.bz2
erlang.mk-3f8688e0d0526b74993d64a166e9ba8559c687e4.zip
Make autopatch of Erlang.mk projects less obtrusive
We do not touch the erlang.mk file anymore. We only patch the Makefile to include the top-level Erlang.mk by changing the 'include erlang.mk' line to look for ERLANG_MK_FILENAME if it is defined. The modified Makefile can be committed safely.
Diffstat (limited to 'core/core.mk')
-rw-r--r--core/core.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/core.mk b/core/core.mk
index 10fe0a0..278e20f 100644
--- a/core/core.mk
+++ b/core/core.mk
@@ -15,6 +15,7 @@
.PHONY: all app apps deps search rel relup docs install-docs check tests clean distclean help erlang-mk
ERLANG_MK_FILENAME := $(realpath $(lastword $(MAKEFILE_LIST)))
+export ERLANG_MK_FILENAME
ERLANG_MK_VERSION = rolling