diff options
author | knarf <knarf@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2011-10-04 13:26:44 +0000 |
---|---|---|
committer | knarf <knarf@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2011-10-04 13:26:44 +0000 |
commit | eebd27eee512f591ce6c7c640c614290604fe464 (patch) | |
tree | 26692002bc4890a263cb4825f41e2c1322cb3270 /lib/make/make.config.rules.in | |
parent | 643410515c22de2945df896974b44c9ca2c6051e (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 'lib/make/make.config.rules.in')
-rw-r--r-- | lib/make/make.config.rules.in | 30 |
1 files changed, 19 insertions, 11 deletions
diff --git a/lib/make/make.config.rules.in b/lib/make/make.config.rules.in index e6b7637d..cec72a91 100644 --- a/lib/make/make.config.rules.in +++ b/lib/make/make.config.rules.in @@ -29,27 +29,35 @@ INCLUDE_LINE = $(patsubst %,-I"%",$(call TRANSFORM_DIRS,$(INC_DIRS))) ##################################################################### +ifeq ($(shell echo $(VERBOSE) | tr '[:upper:]' '[:lower:]'),yes) define NOTIFY_PREPROCESSING - VERBOSE=`echo $VERBOSE | tr '[:upper:]' '[:lower:]'`; \ - if test "$(VERBOSE)" = "yes"; then echo Preprocessing $<; fi + echo Preprocessing $< endef define NOTIFY_COPYING - VERBOSE=`echo $VERBOSE | tr '[:upper:]' '[:lower:]'`; \ - if test "$(VERBOSE)" = "yes"; then echo Copying $<; fi + echo Copying $< endef define NOTIFY_COMPILING - VERBOSE=`echo $VERBOSE | tr '[:upper:]' '[:lower:]'`; \ - if test "$(VERBOSE)" = "yes"; then echo Compiling $<; \ - else echo COMPILING $<; fi + echo Compiling $< endef define NOTIFY_POSTPROCESSING - VERBOSE=`echo $VERBOSE | tr '[:upper:]' '[:lower:]'`; \ - if test "$(VERBOSE)" = "yes"; then echo Postprocessing $<; fi + echo Postprocessing $< endef define NOTIFY_DIVIDER - VERBOSE=`echo $VERBOSE | tr '[:upper:]' '[:lower:]'`; \ - if test "$(VERBOSE)" = "yes"; then echo $(DIVIDER); fi + echo $(DIVIDER) endef +else +define NOTIFY_PREPROCESSING +endef +define NOTIFY_COPYING +endef +define NOTIFY_COMPILING + echo COMPILING $< +endef +define NOTIFY_POSTPROCESSING +endef +define NOTIFY_DIVIDER +endef +endif # Define how to do dependencies ifeq ($(strip $(PERL_BACKUP_NECESSARY)),) |