changeset 17104:bcbe636cc12f

maint.mk: silent rules With help from Stefano Lattarini. * top/maint.mk (writable-files): Use $(AM_V_GEN). (announcement): Use $(AM_V_at).
author Akim Demaille <akim@lrde.epita.fr>
date Thu, 20 Sep 2012 11:09:53 +0200
parents 2e34750ea4c1
children f8dcc5a28ca3
files ChangeLog top/maint.mk
diffstat 2 files changed, 11 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2012-09-20  Akim Demaille  <akim@lrde.epita.fr>
+
+	maint.mk: silent rules
+	With help from Stefano Lattarini.
+	* top/maint.mk (writable-files): Use $(AM_V_GEN).
+	(announcement): Use $(AM_V_at).
+
 2012-09-24  Paul Eggert  <eggert@cs.ucla.edu>
 
 	localename: port gl_locale_name_thread_unsafe to FreeBSD
--- a/top/maint.mk
+++ b/top/maint.mk
@@ -1135,7 +1135,7 @@
 # i.e., when pkg-M.N.tar.xz already exists (either in "." or in ../release)
 # and is read-only.
 writable-files:
-	if test -d $(release_archive_dir); then				\
+	$(AM_V_GEN)if test -d $(release_archive_dir); then		\
 	  for file in $(DIST_ARCHIVES); do				\
 	    for p in ./ $(release_archive_dir)/; do			\
 	      test -e $$p$$file || continue;				\
@@ -1280,7 +1280,9 @@
 endif
 
 announcement: NEWS ChangeLog $(rel-files)
-	$(AM_V_GEN)$(srcdir)/$(_build-aux)/announce-gen			\
+# Not $(AM_V_GEN) since the output of this command serves as
+# annoucement message: it would start with " GEN announcement".
+	$(AM_V_at)$(srcdir)/$(_build-aux)/announce-gen			\
 	    --mail-headers='$(announcement_mail_headers_)'		\
 	    --release-type=$(RELEASE_TYPE)				\
 	    --package=$(PACKAGE)					\