From acb9c9fcc70a0f65855e9939eb1b632b3a510d8f Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 31 Dec 2009 15:59:29 +0100 Subject: [PATCH] maint.mk: create announcement template in ~/, not in /tmp * top/maint.mk (emit_upload_commands): Adjust. (release-prep): Emit into ~/announce-..., not /tmp/announce-... Remove temporary file, .ci-msg. --- ChangeLog | 7 +++++++ top/maint.mk | 5 +++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index d1e62344f1..ada6051b5d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2009-12-31 Jim Meyering + + maint.mk: create announcement template in ~/, not in /tmp + * top/maint.mk (emit_upload_commands): Adjust. + (release-prep): Emit into ~/announce-..., not /tmp/announce-... + Remove temporary file, .ci-msg. + 2009-12-31 Eric Blake link-warning: always build headers with link warnings diff --git a/top/maint.mk b/top/maint.mk index be061a6d44..2d25535db0 100644 --- a/top/maint.mk +++ b/top/maint.mk @@ -714,7 +714,7 @@ emit_upload_commands: @echo "$(build_aux)/gnupload $(GNUPLOADFLAGS) \\" @echo " --to $(gnu_rel_host):$(PACKAGE) \\" @echo " $(rel-files)" - @echo '# send the /tmp/announcement e-mail' + @echo '# send the ~/announce-$(my_distdir) e-mail' @echo ===================================== @echo ===================================== @@ -760,7 +760,7 @@ release-prep-hook ?= release-prep release-prep: case $$RELEASE_TYPE in alpha|beta|stable) ;; \ *) echo "invalid RELEASE_TYPE: $$RELEASE_TYPE" 1>&2; exit 1;; esac - $(MAKE) -s announcement > /tmp/announce-$(my_distdir) + $(MAKE) -s announcement > ~/announce-$(my_distdir) if test -d $(release_archive_dir); then \ ln $(rel-files) $(release_archive_dir); \ chmod a-w $(rel-files); \ @@ -770,6 +770,7 @@ release-prep: perl -pi -e '$$. == 3 and print "$(noteworthy)\n\n\n"' NEWS $(emit-commit-log) > .ci-msg $(VC) commit -F .ci-msg -a + rm .ci-msg .PHONY: web-manual web-manual: -- 2.30.2