[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: reducing verbose dependencies output
From: |
Alexandre Duret-Lutz |
Subject: |
Re: reducing verbose dependencies output |
Date: |
Thu, 31 Oct 2002 16:21:56 +0100 |
User-agent: |
Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386-debian-linux-gnu) |
>>> "Karl" == Karl Berry <address@hidden> writes:
Karl> Somewhere along the line, automake started outputting an if construct
Karl> for every compile, such as:
Karl> if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../intl
-DLOCALEDIR=\"/usr/local/share/locale\" -g -MT html.o -MD -MP -MF
".deps/html.Tpo" \
Karl> -c -o html.o `test -f 'html.c' || echo './'`html.c; \
Karl> then mv ".deps/html.Tpo" ".deps/html.Po"; \
Karl> else rm -f ".deps/html.Tpo"; exit 1; \
Karl> fi
Karl> This clutters the real output with the stuff about .deps.
Karl> Just as the install commands are faked to show the important command
Karl> without all the necessary sh scaffolding, I'd like to suggest that only
Karl> the actual compilation command be shown, as in
Karl> @echo " $(compile)"
Karl> @if $(compile); then mv ...; else rm ...; fi
This is a controversial area.
On one hand some people want to see the entire command run.
This helps debugging by allowing you to reproduce things
from the command line, and this also makes bug reports more
helpful. Some people have also asked that Automake doesn't use
`echo', so that `make -s' works.
On the other hand, people complains that Automake is to verbose
and make it easy to miss compiler diagnostics.
It seems difficult to satisfy everybody.
--
Alexandre Duret-Lutz