From 3f8688e0d0526b74993d64a166e9ba8559c687e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Mon, 15 May 2017 14:37:40 +0200 Subject: 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. --- core/core.mk | 1 + 1 file changed, 1 insertion(+) (limited to 'core/core.mk') 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 -- cgit v1.2.3