From b1ab343e3e5c83e3da99a34924acf9c68bd4ee72 Mon Sep 17 00:00:00 2001
From: Hib Eris <hib@hiberis.nl>
Date: Mon, 24 Sep 2012 09:29:56 +0200
Subject: [PATCH] Do not echo targets when building with silent rules

---
 automake.in       |    2 +-
 lib/am/subdirs.am |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/automake.in b/automake.in
index b165855..5b383a0 100644
--- a/automake.in
+++ b/automake.in
@@ -4476,7 +4476,7 @@ sub handle_all ($)
 	# things explicitly.
 	$output_all .= ("all: @local_headers"
 			. "\n\t"
-			. '$(MAKE) $(AM_MAKEFLAGS) '
+			. '$(AM_V_at)$(MAKE) $(AM_MAKEFLAGS) '
 			. (var ('SUBDIRS') ? 'all-recursive' : 'all-am')
 			. "\n\n");
         depend ('.MAKE', 'all');
diff --git a/lib/am/subdirs.am b/lib/am/subdirs.am
index 005483a..b430d21 100644
--- a/lib/am/subdirs.am
+++ b/lib/am/subdirs.am
@@ -56,7 +56,7 @@ $(am__recursive_targets):
 	  *) list='$(SUBDIRS)' ;; \
 	esac; \
 	for subdir in $$list; do \
-	  echo "Making $$target in $$subdir"; \
+	  $(AM_V_P) && echo "Making $$target in $$subdir"; \
 	  if test "$$subdir" = "."; then \
 	    dot_seen=yes; \
 	    local_target="$$target-am"; \
-- 
1.7.5.4

