Re: Enabling automake silent-rules by default



On Fri, 2009-08-28 at 14:56 -0400, Behdad Esfahbod wrote:
> On 08/28/2009 02:56 PM, Maciej Piechotka wrote:
> > On Fri, 2009-08-28 at 14:06 -0400, Behdad Esfahbod wrote:
> >> Hi,
> >>
> >> Many modules have already been adding support for automake silent rules, but
> >> turned off by default.
> >>
> >> I just pushed changes to pango and vte to enable silent rules by default.
> >> That's a much saner default, and allows catching warnings easily.  I like to
> >> suggest everyone does the same.
> >>
> >> You just need to add this line to configure.ac after AM_INIT_AUTOMAKE:
> >>
> >> m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
> >>
> >> That does most of the job.  For custom make rules, you need to add $(AM_V_GEN)
> >> to the beginning of the rule.  Read this for details:
> >>
> >>     http://www.flameeyes.eu/autotools-mythbuster/automake/silent.html
> >>
> >>
> >> Cheers,
> >> behdad
> >
> > Well:
> > 1. For catching warnings -Werror is much better.
> 
> Don't get me started on that.

Ops. I forgot to mention - I do not proposed -Werror as a default (I had
once problem with early OpenJDK + recent gcc).

Regards

Attachment: signature.asc
Description: This is a digitally signed message part



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]