aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2016-10-28 19:22:49 +0300
committerLoïc Hoguin <[email protected]>2016-10-28 19:22:49 +0300
commit20f480531e0caafcb1f988eaadea1b3b6a3caf72 (patch)
tree4bb2b3ebe51c50268ba4a5aed9f1ceae70c99170 /plugins
parent2a0a4e9606492c9a746ad2dc36899b3c32d074cc (diff)
downloaderlang.mk-20f480531e0caafcb1f988eaadea1b3b6a3caf72.tar.gz
erlang.mk-20f480531e0caafcb1f988eaadea1b3b6a3caf72.tar.bz2
erlang.mk-20f480531e0caafcb1f988eaadea1b3b6a3caf72.zip
Add "make relup"
The initial documentation is a bit rough. It's getting late and I'd like to have this in sooner rather than later. :-)
Diffstat (limited to 'plugins')
-rw-r--r--plugins/relx.mk9
1 files changed, 7 insertions, 2 deletions
diff --git a/plugins/relx.mk b/plugins/relx.mk
index 25e8509..9a15f4a 100644
--- a/plugins/relx.mk
+++ b/plugins/relx.mk
@@ -1,7 +1,7 @@
# 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 run
+.PHONY: relx-rel relx-relup distclean-relx-rel run
# Configuration.
@@ -23,6 +23,8 @@ endif
ifeq ($(IS_DEP),)
ifneq ($(wildcard $(RELX_CONFIG)),)
rel:: relx-rel
+
+relup:: relx-relup
endif
endif
@@ -35,7 +37,10 @@ $(RELX):
$(verbose) chmod +x $(RELX)
relx-rel: $(RELX) rel-deps app
- $(verbose) $(RELX) -c $(RELX_CONFIG) $(RELX_OPTS)
+ $(verbose) $(RELX) -c $(RELX_CONFIG) $(RELX_OPTS) release tar
+
+relx-relup: $(RELX) rel-deps app
+ $(verbose) $(RELX) -c $(RELX_CONFIG) $(RELX_OPTS) release relup tar
distclean-relx-rel:
$(gen_verbose) rm -rf $(RELX_OUTPUT_DIR)