Quiet more of the build process under --quiet
authorPhil Miller <mille121@illinois.edu>
Thu, 10 Dec 2009 00:04:25 +0000 (18:04 -0600)
committerPhil Miller <mille121@illinois.edu>
Thu, 10 Dec 2009 00:04:25 +0000 (18:04 -0600)
build
src/scripts/Makefile

diff --git a/build b/build
index 73633037a63db028cdd29816b221029fd4838017..c5b045617bde68200deb4a49b256b43a41dcc371 100755 (executable)
--- a/build
+++ b/build
@@ -571,14 +571,14 @@ printError()
        exit $MAKEEXIT
 }
 
-Echo "Performing '$MAKE $MAKEOPTS basics OPTS="$OPTS"' in $VERSION/tmp"
+Echo "Performing '$MAKE $MAKEOPTS basics OPTS="$OPTS" QUIET="$QUIET"' in $VERSION/tmp"
 cd $DESTINATION/tmp 
-$MAKE $MAKEOPTS basics OPTS="$OPTS $BUILD_SHARED"
+$MAKE $MAKEOPTS basics OPTS="$OPTS $BUILD_SHARED" QUIET="$QUIET"
 MAKEEXIT=$?
 [ $MAKEEXIT -ne 0 ] && printError
 
-Echo "Performing '$MAKE $MAKEOPTS $PROGRAM OPTS="$OPTS"' in $VERSION/tmp"
-$MAKE $MAKEOPTS $PROGRAM OPTS="$OPTS $BUILD_SHARED"
+Echo "Performing '$MAKE $MAKEOPTS $PROGRAM OPTS="$OPTS" QUIET="$QUIET"' in $VERSION/tmp"
+$MAKE $MAKEOPTS $PROGRAM OPTS="$OPTS $BUILD_SHARED" QUIET="$QUIET"
 MAKEEXIT=$?
 if [ $MAKEEXIT -eq 0 ]
 then
index 0f58f1217effe1696265b4637947309338811999..87c266cd0e7d3bab8c91dd0c29c648fe28e2ac59 100644 (file)
@@ -248,14 +248,13 @@ basics: headers
        touch basics
 
 # Headers is used only for the dependencies
-headers: dirs+sources
-       $(MAKE) headerlinks
+headers: headerlinks
 
 conv-autoconfig.h: configure
-       ./configure
+       ./configure $(QUIET)
 
 headerlinks: dirs+sources Makefile $(ALLHEADERS)
-       @echo "Soft-linking headers..."
+       @[ "x$QUIET" = "x--quiet" ] || echo "Soft-linking headers..."
        -@for hdr in $(ALLHEADERS) ; do test ! -f "../include/$$hdr" && ./system_ln "../tmp/$$hdr" ../include ; done
        touch headerlinks