aboutsummaryrefslogtreecommitdiffstats
path: root/erlang.mk
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2015-07-21 21:23:41 +0200
committerLoïc Hoguin <[email protected]>2015-07-21 21:23:41 +0200
commit889601751d10143771d0716ea9079a9b8672d19e (patch)
treedab7bf37102954878237f97de6e502b8476cc095 /erlang.mk
parent902f8469aa0b05ceaf897b08c07c01a1ddfbc150 (diff)
downloadcowboy-889601751d10143771d0716ea9079a9b8672d19e.tar.gz
cowboy-889601751d10143771d0716ea9079a9b8672d19e.tar.bz2
cowboy-889601751d10143771d0716ea9079a9b8672d19e.zip
Fix ci-prepare when OTP builds exist
Diffstat (limited to 'erlang.mk')
-rw-r--r--erlang.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/erlang.mk b/erlang.mk
index 8a4051a..6546f90 100644
--- a/erlang.mk
+++ b/erlang.mk
@@ -5386,9 +5386,11 @@ endef
$(foreach otp,$(CI_OTP),$(eval $(call ci_target,$(otp))))
define ci_otp_target
+ifeq ($(wildcard $(CI_INSTALL_DIR)/$(1)),)
$(CI_INSTALL_DIR)/$(1): $(KERL)
$(KERL) build git $(OTP_GIT) $(1) $(1)
$(KERL) install $(1) $(CI_INSTALL_DIR)/$(1)
+endif
endef
$(foreach otp,$(CI_OTP),$(eval $(call ci_otp_target,$(otp))))