[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gsrc-commit] /srv/bzr/gsrc/trunk r1339: Add color output option
From: |
Brandon Invergo |
Subject: |
[Gsrc-commit] /srv/bzr/gsrc/trunk r1339: Add color output option |
Date: |
Fri, 07 Dec 2012 16:49:13 +0100 |
User-agent: |
Bazaar (2.5.0) |
------------------------------------------------------------
revno: 1339
committer: Brandon Invergo <address@hidden>
branch nick: trunk
timestamp: Fri 2012-12-07 16:49:13 +0100
message:
Add color output option
modified:
gar.conf.mk
=== modified file 'gar.conf.mk'
--- a/gar.conf.mk 2012-11-25 22:03:59 +0000
+++ b/gar.conf.mk 2012-12-07 15:49:13 +0000
@@ -11,5 +11,23 @@
# system.
IGNORE_DEPS = libc libiconv
+# If you want GSRC messages to be printed in color, set USE_COLOR to y. This
may
+# help in distinguishing GSRC output from that of the packages you build.
+# The default colors are cyan for messages, red for errors, and green for
+# success.
+USE_COLOR = y
+ifeq ($(USE_COLOR),y)
+ OFF="\\e[00m"
+ MSG="\\e[00\;36m"
+ ERR="\\e[01\;31m"
+ OK="\\e[00\;32m"
+else
+ OFF=
+ MSG=
+ ERR=
+ OK=
+endif
+
+
# If you want rules to apply to all packages ("custom-pre-stow" etc.), then
# define them here.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gsrc-commit] /srv/bzr/gsrc/trunk r1339: Add color output option,
Brandon Invergo <=