From ed4665f9ab890ac8e2b0a339d685519840ddee5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Tue, 25 Oct 2016 19:07:37 +0300 Subject: Move relx to the temporary directory --- plugins/relx.mk | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'plugins/relx.mk') 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 # 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)),) -- cgit v1.2.3