From 75106d22625e6ca63ea1448f5e1b1d992b5eada8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Sat, 9 May 2015 22:22:18 +0300 Subject: Document the run target in 'make help' --- plugins/relx.mk | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'plugins') 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 -- cgit v1.2.3