[pacman-dev] [PATCH] Add 'silent-rules' to automake setup in configure.ac

Dave Reisner d at falconindy.com
Wed Dec 7 11:08:55 EST 2011


On Wed, Dec 07, 2011 at 09:58:49AM -0600, Dan McGee wrote:
> This is awesome, and I don't know why we haven't already done this. It
> gives us the much more less verbose make output in a few different ways:
> 
> * If you run `make V=0`, you will get the quiet output.
> * If you run `./configure --enable-silent-rules`, the quiet output is
>   the default; verbose output can be had by passing V=1 to make.
> 
>     make[3]: Entering directory `/home/dmcgee/projects/pacman/lib/libalpm'
>       CC     add.lo
>       CC     be_local.lo
>       CC     be_package.lo
>       CC     be_sync.lo
>       CC     delta.lo
>     .....
> 
> Signed-off-by: Dan McGee <dan at archlinux.org>
> ---
>  configure.ac |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/configure.ac b/configure.ac
> index d4ec677..39e34c8 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -57,7 +57,7 @@ AC_CONFIG_SRCDIR([config.h.in])
>  AC_CONFIG_HEADERS([config.h])
>  
>  AC_CANONICAL_HOST
> -AM_INIT_AUTOMAKE
> +AM_INIT_AUTOMAKE([silent-rules])
>  
>  LIB_VERSION=`expr lib_current - lib_age`.lib_age.lib_revision
>  LIB_VERSION_INFO="lib_current:lib_revision:lib_age"
> -- 
> 1.7.8
> 
> 

Oh... I figured you knew about this and didn't give a shit. Yay for
enabling this!!!

d
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://mailman.archlinux.org/pipermail/pacman-dev/attachments/20111207/5af3c01c/attachment.asc>


More information about the pacman-dev mailing list