automake's silent-rules

James Cloos cloos at jhcloos.com
Tue Aug 25 15:35:31 PDT 2009


Now that automake 1.11 has easy support for controling the verbosity of
make, we should make that available.

Is there any preference for whether silent should be enabled or disabled
by default?  Either way, one can override via the --enable-silent-rules
and --disable-silent-rules configure flags or via make V=1 and make V=0,
so this question is only relevant to those who configure and make w/o
specifying a verbosity choice.

The first step is to add either of:

    m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([no])])

or:

    m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])

to configure.ac.

There is also a $(AM_V_GEN) which can be added as a prefix to
Makefile.am command lines to control verbosity for commands which
automake doesn't know about, such as the $(RAWCPP) commands in libX11.

But that can be done as a separate step, if desired.

Is there a consensus preference for or against make verbosity?

-JimC
-- 
James Cloos <cloos at jhcloos.com>         OpenPGP: 1024D/ED7DAEA6


More information about the xorg-devel mailing list