maint.mk: suppress "Entering/Leaving directory" diag in announcement
authorJim Meyering <meyering@redhat.com>
Sun, 8 May 2011 16:13:59 +0000 (18:13 +0200)
committerJim Meyering <meyering@redhat.com>
Sun, 8 May 2011 16:14:13 +0000 (18:14 +0200)
* 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.

ChangeLog
top/maint.mk

index 3844aea..858e21b 100644 (file)
--- 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.
index f221357..03a9036 100644 (file)
@@ -1238,7 +1238,7 @@ gl_noteworthy_news_ = * Noteworthy changes in release ?.? (????-??-??) [?]
 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);                               \