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

2021-10-25 Thread Alejandro Colomar (man-pages)
Hi Paul! On 10/25/21 10:32 PM, Paul Smith wrote: On Mon, 2021-10-25 at 22:28 +0200, Alejandro Colomar (man-pages) wrote: Since I use '--warn-undefined-variables', and also to help readability to someone who may not know about this usage and may wonder what does that $(V) mean, I used the

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

2021-10-25 Thread Paul Smith
On Mon, 2021-10-25 at 22:28 +0200, Alejandro Colomar (man-pages) wrote: > Since I use '--warn-undefined-variables', and also to help > readability to someone who may not know about this usage and may > wonder what does that $(V) mean, I used the following: > > V := > $(V).SILENT: Looks good.

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

2021-10-25 Thread Alejandro Colomar (man-pages)
Hello Paul, Dmitry, and David! > On Sat, Oct 23, 2021 at 6:06 AM Paul Smith > wrote: > > 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

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

2021-10-23 Thread David Boyce
BTW we use a slightly different and, I think, slightly improved version of what's shown there (see below). Improvements are: 1. Either the verbose or the concise output is shown, vs both in verbose mode as the original does. 2. It uses $(info ...) instead of echo which saves a fork/exec per

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

2021-10-23 Thread Dmitry Goncharov via Bug reports and discussion for GNU make
On Fri, Oct 22, 2021 at 9:02 PM Alejandro Colomar (man-pages) wrote: > The output would be something like: > > CC foo.o > CC bar.o > ... > > But then, if something goes wrong (e.g., bar.c stops compiling into > bar.o), I'd like to be able to debug the build by showing the full command.

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

2021-10-23 Thread Paul Smith
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.

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

2021-10-22 Thread Alejandro Colomar (man-pages)
Hi, 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. The output would be something like: CC foo.o CC bar.o ... But then,