From: Yann E. MORIN" Date: Sun, 3 Jun 2012 15:25:53 +0000 (+0200) Subject: configure: use automake's silent-rules, enhance to silence make X-Git-Tag: v3.5.0-0~11 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=7bfe71ee204fc28343fc9d8405f1cf73391fb861;p=kconfig-frontends configure: use automake's silent-rules, enhance to silence make Signed-off-by: "Yann E. MORIN" --- diff --git a/Makefile.am b/Makefile.am index 2dfdf75..c3bec45 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,4 +1,5 @@ ACLOCAL_AMFLAGS = -I scripts/.autostuff/m4 +MAKEFLAGS = $(SILENT_MAKEFLAGS) if COND_utils MAYBE_utils = utils endif diff --git a/configure.ac b/configure.ac index 731d36b..231741b 100644 --- a/configure.ac +++ b/configure.ac @@ -30,6 +30,17 @@ AS_IF( AM_INIT_AUTOMAKE +AS_IF( + [test "$(./scripts/version.sh --internal)" = "hg"], + [AM_SILENT_RULES], + [AM_SILENT_RULES([yes])]) + +AS_IF( + [test $AM_DEFAULT_VERBOSITY -eq 0], + [SILENT_MAKEFLAGS="--no-print-directory -s"], + [SILENT_MAKEFLAGS=""]) +AC_SUBST([SILENT_MAKEFLAGS]) + #---------------------------------------- # Prepare libtool LT_PREREQ([2.2.6])