aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/relx.mk
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2015-05-09 22:22:18 +0300
committerLoïc Hoguin <[email protected]>2015-05-09 22:22:18 +0300
commit75106d22625e6ca63ea1448f5e1b1d992b5eada8 (patch)
tree00f3ce6bee5dd47847afea35a2fbf966328bcc97 /plugins/relx.mk
parent5c5179dba66f55974c81e945ff4cf970a01c3d40 (diff)
downloaderlang.mk-75106d22625e6ca63ea1448f5e1b1d992b5eada8.tar.gz
erlang.mk-75106d22625e6ca63ea1448f5e1b1d992b5eada8.tar.bz2
erlang.mk-75106d22625e6ca63ea1448f5e1b1d992b5eada8.zip
Document the run target in 'make help'
Diffstat (limited to 'plugins/relx.mk')
-rw-r--r--plugins/relx.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/plugins/relx.mk b/plugins/relx.mk
index 177e5a7..0794b2e 100644
--- a/plugins/relx.mk
+++ b/plugins/relx.mk
@@ -47,6 +47,8 @@ distclean-relx-rel:
distclean-relx:
$(gen_verbose) rm -rf $(RELX)
+# Run target.
+
ifeq ($(wildcard $(RELX_CONFIG)),)
run:
else
@@ -62,4 +64,10 @@ RELX_RELEASE = `$(call erlang,$(get_relx_release.erl))`
run: all
@$(RELX_OUTPUT_DIR)/$(RELX_RELEASE)/bin/$(RELX_RELEASE) console
+
+help::
+ @printf "%s\n" "" \
+ "Relx targets:" \
+ " run Compile the project, build the release and run it"
+
endif