aboutsummaryrefslogtreecommitdiffstats
path: root/core/core.mk
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2015-06-18 20:51:28 +0200
committerLoïc Hoguin <[email protected]>2015-06-18 20:51:28 +0200
commit1b9e73c99561e0661862b10f3c5fd9dbb8cc1f0f (patch)
treeff2c4db2cd88610b4b1fcfe6ef4f91494399189a /core/core.mk
parent6612bae420c8062000fa050ea40d89b6dda7c175 (diff)
downloaderlang.mk-1b9e73c99561e0661862b10f3c5fd9dbb8cc1f0f.tar.gz
erlang.mk-1b9e73c99561e0661862b10f3c5fd9dbb8cc1f0f.tar.bz2
erlang.mk-1b9e73c99561e0661862b10f3c5fd9dbb8cc1f0f.zip
Use the real path instead of symbolic links to erlang.mk
This will fix some issues where a symbolic link can link to another symbolic link (Cowboy examples), and issues where symbolic links can't be used (VirtualBox shared folders).
Diffstat (limited to 'core/core.mk')
-rw-r--r--core/core.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/core.mk b/core/core.mk
index 46b12d1..4fe4e5c 100644
--- a/core/core.mk
+++ b/core/core.mk
@@ -14,6 +14,8 @@
.PHONY: all deps app rel docs install-docs tests check clean distclean help erlang-mk
+ERLANG_MK_FILENAME := $(realpath $(lastword $(MAKEFILE_LIST)))
+
ERLANG_MK_VERSION = 1
# Core configuration.