diff options
author | Loïc Hoguin <[email protected]> | 2016-10-25 19:07:37 +0300 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2016-10-25 19:07:37 +0300 |
commit | ed4665f9ab890ac8e2b0a339d685519840ddee5e (patch) | |
tree | 1bd9d6aeb70b21a246d182b0b0ddd39e067b407a /plugins/relx.mk | |
parent | 0c11cdf485310b584624187a7a757b9a6863887e (diff) | |
download | erlang.mk-ed4665f9ab890ac8e2b0a339d685519840ddee5e.tar.gz erlang.mk-ed4665f9ab890ac8e2b0a339d685519840ddee5e.tar.bz2 erlang.mk-ed4665f9ab890ac8e2b0a339d685519840ddee5e.zip |
Move relx to the temporary directory
Diffstat (limited to 'plugins/relx.mk')
-rw-r--r-- | plugins/relx.mk | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/plugins/relx.mk b/plugins/relx.mk index 1380a3d..25e8509 100644 --- a/plugins/relx.mk +++ b/plugins/relx.mk @@ -1,11 +1,11 @@ # Copyright (c) 2013-2016, Loïc Hoguin <[email protected]> # This file is part of erlang.mk and subject to the terms of the ISC License. -.PHONY: relx-rel distclean-relx-rel distclean-relx run +.PHONY: relx-rel distclean-relx-rel run # Configuration. -RELX ?= $(CURDIR)/relx +RELX ?= $(ERLANG_MK_TMP)/relx RELX_CONFIG ?= $(CURDIR)/relx.config RELX_URL ?= https://github.com/erlware/relx/releases/download/v3.19.0/relx @@ -26,7 +26,7 @@ rel:: relx-rel endif endif -distclean:: distclean-relx-rel distclean-relx +distclean:: distclean-relx-rel # Plugin-specific targets. @@ -40,9 +40,6 @@ relx-rel: $(RELX) rel-deps app distclean-relx-rel: $(gen_verbose) rm -rf $(RELX_OUTPUT_DIR) -distclean-relx: - $(gen_verbose) rm -rf $(RELX) - # Run target. ifeq ($(wildcard $(RELX_CONFIG)),) |