summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorknarf <knarf@17b73243-c579-4c4c-a9d2-2d5706c11dac>2011-10-04 13:26:44 +0000
committerknarf <knarf@17b73243-c579-4c4c-a9d2-2d5706c11dac>2011-10-04 13:26:44 +0000
commiteebd27eee512f591ce6c7c640c614290604fe464 (patch)
tree26692002bc4890a263cb4825f41e2c1322cb3270 /Makefile
parent643410515c22de2945df896974b44c9ca2c6051e (diff)
- 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
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 11 insertions, 1 deletions
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)