[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 05/10] colors.mk: No duplicate make output in verbose mode.



---
 colors.mk | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/colors.mk b/colors.mk
index 824fbf0..446f41b 100644
--- a/colors.mk
+++ b/colors.mk
@@ -8,6 +8,8 @@ COLOR_FILE    = `$(TPUT) bold``$(TPUT) setaf 2`
 COLOR_BRACKET = $(COLOR_CLEAR)`$(TPUT) setaf 4`
 endif
 
+ifneq ($(VERBOSE),)
 define colorecho
 	@echo $(COLOR_BRACKET)"  ["$(COLOR_ACTION)$1$(COLOR_BRACKET)"]  " $(COLOR_FILE)$2$(COLOR_BRACKET)... $(COLOR_NORMAL)
 endef
+endif
-- 
1.8.5.3

-- 
+ privacy is necessary
+ using gnupg http://gnupg.org
+ public key id: 0x92FEFDB7E44C32F9

Attachment: signature.asc
Description: Digital signature