On Fri, 20 Nov 2009 19:18:27 +0600, Mikhail Gusarov <[hidden email]> wrote:
> I don't entirely like duplicating every command line in makefile,
> so this patch is RFC. Someone with bigger Make-fu than mine probably
> knows a better way.
Getting a quieter compile out is a great idea.
But, you're right that duplicating the command line invocations is a
problem. That sets up a fragile system where we'll end up with "make"
and "make V=1" actually doing different things.
Meanwhile, the feature I've always wanted with systems like this is to
document to the user that there's the possibility of adding a "V=1" to
the command line to get the full output.
Fortunately, I'm sitting next to Chris Wilson right now, and I know that
all I need to do is to mention the idea to him, and he'll give us a
solution that doesn't duplicate the commands, documents V=1, and will
just be a tiny change to our Makefiles.
Twas brillig at 14:16:52 21.11.2009 UTC+01 when [hidden email] did gyre and gimble:
CW> Meanwhile, the feature I've always wanted with systems like this is
CW> to document to the user that there's the possibility of adding a
CW> "V=1" to the command line to get the full output.
I have had another idea in mind which might be useful: a "header" for
silent make mode which explains what commands are run exactly, including
placeholders like $@ $^, so it is not necessary to run with make V=1 to
figure out what's going on.