aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/relx.mk
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2014-08-20 16:06:57 +0300
committerLoïc Hoguin <[email protected]>2014-08-20 16:08:25 +0300
commit5d021bf639417c663c8d68636e89952598c51368 (patch)
tree68609b664784441e1e5b10542e9d6d14d48e1745 /plugins/relx.mk
parente89e4208263350f11b5ede9eae1e809401ca05af (diff)
downloaderlang.mk-5d021bf639417c663c8d68636e89952598c51368.tar.gz
erlang.mk-5d021bf639417c663c8d68636e89952598c51368.tar.bz2
erlang.mk-5d021bf639417c663c8d68636e89952598c51368.zip
Correctly handle RELX_OUTPUT_DIR1.1.0
Diffstat (limited to 'plugins/relx.mk')
-rw-r--r--plugins/relx.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/relx.mk b/plugins/relx.mk
index 3204321..ee226d3 100644
--- a/plugins/relx.mk
+++ b/plugins/relx.mk
@@ -16,6 +16,8 @@ RELX_OUTPUT_DIR ?= _rel
ifeq ($(firstword $(RELX_OPTS)),-o)
RELX_OUTPUT_DIR = $(word 2,$(RELX_OPTS))
+else
+ RELX_OPTS += -o $(RELX_OUTPUT_DIR)
endif
# Core targets.