aboutsummaryrefslogtreecommitdiffstats
path: root/core/deps.mk
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2015-06-27 20:31:52 +0200
committerLoïc Hoguin <[email protected]>2015-06-27 20:31:52 +0200
commit8ce44651d51c8f860c4d433bf16d5a723e1f5cc0 (patch)
tree3fe9d5b951d69af241af247deab07f21f5d99af1 /core/deps.mk
parent913f90743ecc9ad6ae76ee1818b19e6f062d652b (diff)
downloaderlang.mk-8ce44651d51c8f860c4d433bf16d5a723e1f5cc0.tar.gz
erlang.mk-8ce44651d51c8f860c4d433bf16d5a723e1f5cc0.tar.bz2
erlang.mk-8ce44651d51c8f860c4d433bf16d5a723e1f5cc0.zip
Remove ebin/$(DEP).app when patching rebar out
Seems like it works fine for all packages and fix issues with some that wouldn't compile properly otherwise.
Diffstat (limited to 'core/deps.mk')
-rw-r--r--core/deps.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/deps.mk b/core/deps.mk
index 3bb43ae..9d17362 100644
--- a/core/deps.mk
+++ b/core/deps.mk
@@ -137,7 +137,8 @@ define dep_autopatch_rebar
if [ -f $(DEPS_DIR)/$(1)/Makefile ]; then \
mv $(DEPS_DIR)/$(1)/Makefile $(DEPS_DIR)/$(1)/Makefile.orig.mk; \
fi; \
- $(call erlang,$(call dep_autopatch_rebar.erl,$(1)))
+ $(call erlang,$(call dep_autopatch_rebar.erl,$(1))); \
+ rm -f $(DEPS_DIR)/$(1)/ebin/$(1).app
endef
define dep_autopatch_rebar.erl