bug-make
[Top][All Lists]
Advanced

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

Re: [rfc] Colorized output for GNU make?


From: Sebastian Pipping
Subject: Re: [rfc] Colorized output for GNU make?
Date: Fri, 21 Oct 2011 23:10:47 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20111020 Thunderbird/7.0.1

Hello again,


I've been doing more work on the patch.  Version 3 is up at [1].  Since
version 2 I have made these changes:

  - Fix: error() printed twice (first with color, then a second
      time without)

  - Add support for customizing colors through environment
      variable "MAKE_COLORS"

  - Add missing newline to end of debugging message

  - Turn misc messages green by default, was cyan before

  - Introduce flag for erase in line (similar to what grep has)

(Eli's feedback is not integrated yet, because I am waiting for a second
opinion before applying that.)

With v3 [1] applied, you could try these commands to get a feeling for
current defaults and MAKE_COLORS:

  # make
  # ./make --color
  # export MAKE_COLORS='enter=0;42:leave=0;41:message=0:erase=yes'
  # ./make --color

Best,



Sebastian


[1] http://hartwork.org/public/make-CVS-color-v3.patch



reply via email to

[Prev in Thread] Current Thread [Next in Thread]