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

Simon Ruderich simon at ruderich.org
Sat Feb 1 21:56:23 CET 2014


---
 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <https://listi.jpberlin.de/pipermail/hlwm/attachments/20140201/a54bedeb/attachment.asc>


More information about the hlwm mailing list