changeset 14709:8fd3118c13f8

maint.mk: suppress "Entering/Leaving directory" diag in announcement * top/maint.mk (release-prep): Use make's --no-print-directory option when generating the announcement. This eliminates the pesky "make[2]: Entering/Leaving directory" diagnostics in the generated announcement template.
author Jim Meyering <meyering@redhat.com>
date Sun, 08 May 2011 18:13:59 +0200
parents 436a17cfce36
children be8a8d04fbc8
files ChangeLog top/maint.mk
diffstat 2 files changed, 9 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2011-05-08  Jim Meyering  <meyering@redhat.com>
+
+	maint.mk: suppress "Entering/Leaving directory" diag in announcement
+	* top/maint.mk (release-prep): Use make's --no-print-directory
+	option when generating the announcement.  This eliminates the
+	pesky "make[2]: Entering/Leaving directory" diagnostics in the
+	generated announcement template.
+
 2011-05-08  Bruno Haible  <bruno@clisp.org>
 
 	tzset: Fix gettimeofday wrapper on Solaris 2.6.
--- a/top/maint.mk
+++ b/top/maint.mk
@@ -1238,7 +1238,7 @@
 release-prep:
 	case $$RELEASE_TYPE in alpha|beta|stable) ;; \
 	  *) echo "invalid RELEASE_TYPE: $$RELEASE_TYPE" 1>&2; exit 1;; esac
-	$(MAKE) -s announcement > ~/announce-$(my_distdir)
+	$(MAKE) --no-print-directory -s announcement > ~/announce-$(my_distdir)
 	if test -d $(release_archive_dir); then			\
 	  ln $(rel-files) $(release_archive_dir);		\
 	  chmod a-w $(rel-files);				\