diff options
author | Loïc Hoguin <[email protected]> | 2015-05-13 21:20:38 +0300 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2015-05-13 21:20:38 +0300 |
commit | 32a86dd3da8a140e4374f4d09d24c0c9fdb41298 (patch) | |
tree | 92d8c0f20fe4ca1ace7abfe85f3b821fd3413a86 /core/deps.mk | |
parent | ee6489ede8e7952072d8552407c26ae97b05f056 (diff) | |
download | erlang.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.mk | 4 |
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 |