aboutsummaryrefslogtreecommitdiffstats
path: root/core/deps.mk
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2015-05-13 21:20:38 +0300
committerLoïc Hoguin <[email protected]>2015-05-13 21:20:38 +0300
commit32a86dd3da8a140e4374f4d09d24c0c9fdb41298 (patch)
tree92d8c0f20fe4ca1ace7abfe85f3b821fd3413a86 /core/deps.mk
parentee6489ede8e7952072d8552407c26ae97b05f056 (diff)
downloaderlang.mk-32a86dd3da8a140e4374f4d09d24c0c9fdb41298.tar.gz
erlang.mk-32a86dd3da8a140e4374f4d09d24c0c9fdb41298.tar.bz2
erlang.mk-32a86dd3da8a140e4374f4d09d24c0c9fdb41298.zip
Add a hack to make proper work again
It was between this and adding it to NO_AUTOPATCH. This has the advantage of not requiring rebar.
Diffstat (limited to 'core/deps.mk')
-rw-r--r--core/deps.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/deps.mk b/core/deps.mk
index 084d6b4..f44b9a3 100644
--- a/core/deps.mk
+++ b/core/deps.mk
@@ -133,6 +133,10 @@ define dep_autopatch_rebar.erl
Write(io_lib:format("COMPILE_FIRST +=~s\n", [Names]))
end
end(),
+ case $(1) of
+ proper -> Write("\n# Proper hack.\napp::\n\t./write_compile_flags include/compile_flags.hrl\n");
+ _ -> ok
+ end,
Write("\ninclude ../../erlang.mk"),
halt()
endef