bug-make
[Top][All Lists]
Advanced

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

Re: -V, --verbose, as opposite of -s, --silent, --quiet


From: Paul Smith
Subject: Re: -V, --verbose, as opposite of -s, --silent, --quiet
Date: Sat, 23 Oct 2021 09:06:24 -0400
User-agent: Evolution 3.36.5-0ubuntu1

On Sat, 2021-10-23 at 03:01 +0200, Alejandro Colomar (man-pages) wrote:
> I'd like a project to use '--silent' by default, to have readable
> output, and hide most of the full commands, which would be too
> noisy. 
> 
> So, ideally, I'd like to have 'MAKEFLAGS += --silent' in the
> Makefile.

Actually what you really want is the .SILENT special target.

https://www.gnu.org/software/make/manual/html_node/Special-Targets.html#index-_002eSILENT

That leads to this best-practice way to handle verbose output:

http://make.mad-scientist.net/managing-recipe-echoing/




reply via email to

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