diff options
author | Jasmin Jessich <jasmin@anw.at> | 2017-05-26 20:19:57 +0200 |
---|---|---|
committer | Jasmin Jessich <jasmin@anw.at> | 2017-05-26 20:26:06 +0200 |
commit | 33c2c2f079e6b95a81511bffd87743c9b24e61ee (patch) | |
tree | a7dee689b6f9ed02df48ee69495319d4674072ce /global.mk | |
parent | 260f2cf0cb7b724c9ca3f662529e7b6bbb9cbbb6 (diff) | |
download | vdr-plugin-live-33c2c2f079e6b95a81511bffd87743c9b24e61ee.tar.gz vdr-plugin-live-33c2c2f079e6b95a81511bffd87743c9b24e61ee.tar.bz2 |
Improve Makefile printing again
- The VDR Makefile might get an extension and define "Q", It is now
overriden here.
Diffstat (limited to 'global.mk')
-rw-r--r-- | global.mk | 16 |
1 files changed, 7 insertions, 9 deletions
@@ -3,7 +3,7 @@ # This might be added to VDR main directory in the future # build mode (0 - non-verbose, 1 - verbose) -VERBOSE ?= 0 +VERBOSE ?= 0 # Desplay percentage (0 - no percentage, 1 - print xxx% (not 100% accurate!)) #WITH_PERCENT ?= 0 @@ -21,18 +21,16 @@ ifeq ($(WITH_PERCENT),1) ECHO = echo "[$(shell expr " $(shell echo $$((${TARGET_COUNTER} * 100 / ${TOTAL_TARGETS})))" : '.*\(...\)$$')%]" endif else - ECHO = echo + ECHO := echo endif ifeq ($(VERBOSE),0) - # Have a look to the VDR Makefile hw to use these macros in Plugins. - - Q = @ + override Q := @ PRETTY_PRINT = @$(ECHO) $(1) - AR_NUL = > /dev/null 2>&1 + AR_NUL := > /dev/null 2>&1 else - Q = - PRETTY_PRINT = - AR_NUL = + override Q := + PRETTY_PRINT := + AR_NUL := endif |