]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
automake: enable 'make V=0'
authorSage Weil <sage.weil@dreamhost.com>
Wed, 9 Nov 2011 05:13:07 +0000 (21:13 -0800)
committerSage Weil <sage.weil@dreamhost.com>
Wed, 9 Nov 2011 05:13:07 +0000 (21:13 -0800)
Enables silent mode for automake generated Makefiles,
and silent mode is _off_ by default. Using V=0 the output
is much easier to read when trying to find warnings:

nwatkins@piha:~/Projects/ceph/ceph$ make -j8 V=0
make[3]: Entering directory `/users/nwatkins/Projects/ceph/ceph/src'
  CC     locks.o
  CXX    journal.o
  CXX    Server.o
  CXX    Mutation.o
  CXX    MDCache.o
  CXX    Locker.o
  CXX    Migrator.o
  CXX    MDBalancer.o
  CXX    CDentry.o
  CXX    CDir.o
  CXX    CInode.o
  CXX    LogEvent.o
  CXX    MDSTable.o

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
configure.ac

index 54582e9a6cb9cdc1eb9034027c99b6271e25b0e3..056f3b3863957a2b47ff80b1721cd36eced48137 100644 (file)
@@ -20,6 +20,10 @@ AM_INIT_AUTOMAKE
 AM_PROG_CC_C_O
 AM_PROG_LIBTOOL
 
+# enable make V=0 (if automake >1.11)
+AM_INIT_AUTOMAKE([foreign])
+m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
+
 # Platform
 case "${target_os}" in
 darwin*)