[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: yet another patch to reduce make output
From: |
Jason Kraftcheck |
Subject: |
Re: yet another patch to reduce make output |
Date: |
Mon, 22 Jan 2007 08:43:00 -0600 |
User-agent: |
Icedove 1.5.0.9 (X11/20061220) |
Ralf Wildenhues wrote:
> Hello Jason,
>
> thanks for your work. While I'm not to judge this, and pretty
> indifferent about it, a couple of question to clarify a bit:
>
> * Jason Kraftcheck wrote on Thu, Jan 18, 2007 at 11:36:55PM CET:
>> This patch prefixes the compile and link commands in the generated
>> Makefile's with $(AM_PFX). It leaves AM_PFX undefined, so the default
>> behavior is unchanged. If a package maintainer wants to change the
>> output, (s)he can do something like: AM_PFX = @echo "$@ ...";
>
> What's the improvement over
> AM_MAKEFLAGS = -s
It can be set by the configure script so that it affects even the
top-level make invocation.
It can be used to give some indication of the progress of the build
without echoing the actual commands: AM_PFX="@echo $@; "
It might be more portable. I'm not sure how portable the -s flag is.
>
> except for that this only works starting from the second level 'make'
> invocation, and why does the patch silence the usual compile/link
> commands for programs and libraries but not for, say, texinfo output?
There's no reason it couldn't be done for texinfos and other things also.
I wasn't sure if it would be useful, so I didn't add it. How likely is
it that the build command for texinfo stuff will exceed a line or two?
thanks,
- jason