From eebd27eee512f591ce6c7c640c614290604fe464 Mon Sep 17 00:00:00 2001 From: knarf Date: Tue, 4 Oct 2011 13:26:44 +0000 Subject: - fix several issues with recent VERBOSE change - re-introduce SILENT=no to set VERBOSE=yes, for some time git-svn-id: http://svn.cactuscode.org/flesh/trunk@4740 17b73243-c579-4c4c-a9d2-2d5706c11dac --- Makefile | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index ad346187..b267d08c 100644 --- a/Makefile +++ b/Makefile @@ -40,6 +40,10 @@ endif export PROMPT +# backwards compatibility for VERBOSE=yes (SILENT=no) +ifeq ($(shell echo $(strip $(SILENT)) | tr '[:upper:]' '[:lower:]'),no) +VERBOSE = yes +endif # Make quietly unless told not to ifneq ($(shell echo $(strip $(VERBOSE)) | tr '[:upper:]' '[:lower:]'),yes) .SILENT: @@ -191,9 +195,15 @@ BUILD_ACTIVETHORNS = lib/sbin/BuildActiveThorns.pl # Dividers to make the screen output slightly nicer DIVEL = __________________ DIVIDER = $(DIVEL)$(DIVEL)$(DIVEL)$(DIVEL) +ifeq ($(shell echo $(VERBOSE) | tr '[:upper:]' '[:lower:]'),yes) define NOTIFY_DIVIDER - { if test "$(BRIEF)" != "yes"; then echo $(DIVIDER); fi } + echo $(DIVIDER) endef +else +define NOTIFY_DIVIDER + : +endef +endif # Work out where we are export CCTK_HOME := $(shell pwd) -- cgit v1.2.3