diff top/maint.mk @ 13306:3b72fc82a799

maint.mk, announce-gen: allow project-specific announcement mail headers * top/maint.mk (translation_project_): Define default. (announcement_Cc_, announcement_mail_headers_): Likewise. (announcement): Invoke announce-gen with new --mail-headers option. * build-aux/announce-gen: New option: --mail-headers=HEADERS.
author Jim Meyering <meyering@redhat.com>
date Mon, 03 May 2010 21:58:13 +0200
parents e5593199cd7e
children eeb72cb4f562
line wrap: on
line diff
--- a/top/maint.mk	Mon May 03 18:30:38 2010 +0200
+++ b/top/maint.mk	Mon May 03 21:58:13 2010 +0200
@@ -992,8 +992,16 @@
      && gpgv .ann-sig - < /dev/null 2>&1 \
 	  | sed -n '/.*key ID \([0-9A-F]*\)/s//\1/p'; rm -f .ann-sig)
 
+translation_project_ ?= coordinator@translationproject.org
+announcement_Cc_ ?= $(translation_project_), $(PACKAGE_BUGREPORT)
+announcement_mail_headers_ ?=						\
+To: info-gnu@gnu.org							\
+Cc: $(announcement_Cc_)							\
+Mail-Followup-To: $(PACKAGE_BUGREPORT)
+
 announcement: NEWS ChangeLog $(rel-files)
 	@$(build_aux)/announce-gen					\
+	    --mail-headers='$(announcement_mail_headers_)'		\
 	    --release-type=$(RELEASE_TYPE)				\
 	    --package=$(PACKAGE)					\
 	    --prev=$(PREV_VERSION)					\