From 0eb54a71605a955df14c5df793ebe676c86259f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Sat, 4 Jul 2015 18:10:03 +0200 Subject: Add $(verbose) to avoid completely silencing commands --- plugins/relx.mk | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) (limited to 'plugins/relx.mk') diff --git a/plugins/relx.mk b/plugins/relx.mk index e38c9d0..063a475 100644 --- a/plugins/relx.mk +++ b/plugins/relx.mk @@ -32,16 +32,12 @@ distclean:: distclean-relx-rel distclean-relx # Plugin-specific targets. -define relx_fetch - $(call core_http_get,$(RELX),$(RELX_URL)) - chmod +x $(RELX) -endef - $(RELX): - @$(call relx_fetch) + $(gen_verbose) $(call core_http_get,$(RELX),$(RELX_URL)) + $(verbose) chmod +x $(RELX) relx-rel: $(RELX) - @$(RELX) -c $(RELX_CONFIG) $(RELX_OPTS) + $(verbose) $(RELX) -c $(RELX_CONFIG) $(RELX_OPTS) distclean-relx-rel: $(gen_verbose) rm -rf $(RELX_OUTPUT_DIR) @@ -65,10 +61,10 @@ endef RELX_RELEASE = `$(call erlang,$(get_relx_release.erl))` run: all - @$(RELX_OUTPUT_DIR)/$(RELX_RELEASE)/bin/$(RELX_RELEASE) console + $(verbose) $(RELX_OUTPUT_DIR)/$(RELX_RELEASE)/bin/$(RELX_RELEASE) console help:: - @printf "%s\n" "" \ + $(verbose) printf "%s\n" "" \ "Relx targets:" \ " run Compile the project, build the release and run it" -- cgit v1.2.3