summaryrefslogtreecommitdiff
path: root/global.mk
diff options
context:
space:
mode:
authorJasmin Jessich <jasmin@anw.at>2017-05-26 18:19:57 (GMT)
committerJasmin Jessich <jasmin@anw.at>2017-05-26 18:26:06 (GMT)
commit33c2c2f079e6b95a81511bffd87743c9b24e61ee (patch)
treea7dee689b6f9ed02df48ee69495319d4674072ce /global.mk
parent260f2cf0cb7b724c9ca3f662529e7b6bbb9cbbb6 (diff)
downloadvdr-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.mk16
1 files changed, 7 insertions, 9 deletions
diff --git a/global.mk b/global.mk
index 1c74f37..1b6ce5c 100644
--- a/global.mk
+++ b/global.mk
@@ -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