[Top][All Lists]

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

Re: new flag to show executing shell command

From: chenzero
Subject: Re: new flag to show executing shell command
Date: Fri, 15 May 2015 08:17:05 +0800
User-agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.6.0

On 2015-05-14 22:53, Paul Smith wrote:
On Sat, 2015-05-09 at 12:02 +0800, chenzero wrote:
I am a new beginner of gnu Make. in some cases, I fell that it will
help if Make can print the executing shell command even suppressed,
for example,  to identify problem more easy.
Have you looked at the --trace flag, introduced in GNU make 4.0?

>From the NEWS file:

* New command line option: --trace enables tracing of targets.  When enabled
   the recipe to be invoked is printed even if it would otherwise be suppressed
   by .SILENT or a "@" prefix character.  Also before each recipe is run the
   makefile name and linenumber where it was defined are shown as well as the
   prerequisites that caused the target to be considered out of date.

I do not notice that in 4.0, it has --trace flag. I only check 3.81 version.
Thanks for your info!


reply via email to

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