From 9da2af345bbc3848d181319a77b830c77034ae1e Mon Sep 17 00:00:00 2001 From: Peter Breitenlohner Date: Sat, 29 Dec 2012 14:32:45 +0000 Subject: build system: Enable "silent rules" (see Automake manual) git-svn-id: svn://tug.org/texlive/trunk@28654 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/Makefile.am | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'Build/source/Makefile.am') diff --git a/Build/source/Makefile.am b/Build/source/Makefile.am index 960be2eb207..b15732e02bb 100644 --- a/Build/source/Makefile.am +++ b/Build/source/Makefile.am @@ -1,6 +1,6 @@ ## Makefile.am for the TeX Live top-level ## -## Copyright (C) 2009-2011 Peter Breitenlohner +## Copyright (C) 2009-2012 Peter Breitenlohner ## You may freely use, modify and/or distribute this file. ## ## Use 'aclocal --force' (for "computed m4_sinclude") @@ -35,6 +35,11 @@ CONFIG_AUX = subsubdir-conf.cmd SUBDIRS = . $(TEXLIBS) libs utils texk DIST_SUBDIRS = auxdir/auxsub $(DIST_TEXLIBS) libs utils texk +cf_silent = $(cf_silent_@AM_V@) +cf_silent_ = $(cf_silent_@AM_DEFAULT_V@) +cf_silent_0 = --silent +cf_silent_1 = + all-local: texlibs .PHONY: texlibs @@ -43,7 +48,7 @@ all-local: texlibs # we append '--disable-build' so they can skip tests that would # fail because other libraries were not built. # -# Sequentially configure and optionally build all texk subdirs; +# Sequentially configure and optionally build all texk libraries; # code inspired by automake's way to handle recursive targets. texlibs: $(CONFIG_AUX) @fail= failcom='exit 1'; \ @@ -62,9 +67,9 @@ texlibs: $(CONFIG_AUX) *) skip=' --disable-build';; \ esac; \ (cd $$texlibs && echo "=== configuring in $$texlibs (`pwd`)" && \ - echo "make: running $(SHELL) $$cmd$$skip" && \ + if $(AM_V_P); then echo "make: running $(SHELL) $$cmd$$skip"; fi && \ CONFIG_SHELL=$(SHELL) && export CONFIG_SHELL && \ - eval $(SHELL) $$cmd$$skip || \ + eval $(SHELL) $$cmd$$skip $(cf_silent) || \ { echo "=== configuring in $$texlibs failed"; exit 1; }) && \ if test "x$$skip" = x; then \ echo "Making all in $$texlibs" && \ -- cgit v1.2.3