I like automake's upcoming --silent-rules option enough that I'm making it the default (when possible) for coreutils. Since I bootstrap using automake from its "next" branch, it's enabled for me. And that translates to enhanced Makefile.in files in the tarballs I generate. The net result is that when you run "make" (using distributed Makefile.in files), you'll see something like this:
... CC id.o CC kill.o CC operand2sig.o CC logname.o CC pathchk.o CC printenv.o CC printf.o CC pwd.o CC runcon.o CC seq.o CC sleep.o CC tee.o CC test.o CC timeout.o CC true.o CC truncate.o CC tty.o CC whoami.o CC yes.o CC base64.o CC setuidgid.o CC getlimits.o CC su.o AR libver.a CCLD uname CCLD chroot CCLD hostid CCLD nice CCLD df CCLD pinky CCLD users CCLD uptime CCLD stty CCLD [ CCLD chcon CCLD who CCLD chgrp CCLD chown CCLD chmod ... rather than less-readable lines full of gcc command-line options. >From 9f39fa8559a8f87e1199f11f6cee295ac8cf6781 Mon Sep 17 00:00:00 2001 From: Jim Meyering <meyer...@redhat.com> Date: Sat, 28 Mar 2009 12:48:24 +0100 Subject: [PATCH] build: use automake's --silent-rules option when possible * bootstrap: Use automake's --silent-rules option. --- bootstrap | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/bootstrap b/bootstrap index 27e4ec2..e834a2b 100755 --- a/bootstrap +++ b/bootstrap @@ -686,6 +686,12 @@ find "$m4_base" "$source_base" \ -depth \( -name '*.m4' -o -name '*.[ch]' \) \ -type l -xtype l -delete > /dev/null 2>&1 +# Use automake's --silent-rules option, if possible. +automake="${AUTOMAKE-automake} --add-missing --copy --force-missing" +(${AUTOMAKE-automake} --help) 2>&1 \ + | grep -e '^ *--silent-rules' > /dev/null \ + && automake="$automake --silent-rules" + # Reconfigure, getting other files. for command in \ @@ -693,7 +699,7 @@ for command in \ "${ACLOCAL-aclocal} --force -I m4" \ "${AUTOCONF-autoconf} --force" \ "${AUTOHEADER-autoheader} --force" \ - "${AUTOMAKE-automake} --add-missing --copy --force-missing" + "$automake" do if test "$command" = libtool; then use_libtool=0 -- 1.6.2.rc1.285.gc5f54