summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.maint5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile.maint b/Makefile.maint
index dcf665a20..e8691d3e4 100644
--- a/Makefile.maint
+++ b/Makefile.maint
@@ -238,12 +238,15 @@ signatures = $(distdir).tar.bz2.sig $(distdir).tar.gz.sig
%.sig: %
gpg --detach-sign $<
+# This is useful when sending via GNUS in Emacs.
+mail-gpg-sign-cookie ?= echo '<#secure method=pgpmime mode=sign>'
+
rel-files = $(xd-delta) $(distdir).tar.bz2 $(distdir).tar.gz
announcement: NEWS ChangeLog $(rel-files) $(signatures)
@( \
echo Subject: $(my_distdir) released; \
echo; \
- echo '<#secure method=pgpmime mode=sign>'; \
+ $(mail-gpg-sign-cookie); \
echo FIXME: put comments here; \
echo; \
for url in $(url_dir_list); do \