Wednesday, 3 February 2010

AS_AM_STFU

Writing m4 macro is fun, it really is.

If you want to have make be a "make -s" without doing boring stuff like aliases and actually respect the default verbosity of automake >= 1.11, use this small m4 macro I wrote.

2 comments:

  1. Does it differ much against AM_SILENT_RULES([yes])?

    http://www.gnu.org/software/automake/manual/automake.html#index-silent_002drules-916

    ReplyDelete
  2. @Mike It's meant to be used along with AM_SILENT_RULES, it'll just simulate you typing "make -s" (or having an alias for it) but respecting the default verbosity of the AM_SILENT_RULES, ie, it will do the right thing when your project is configured with either --enable-silent-rules and or --disable-silent-rules

    ReplyDelete