changeset 12538:a8059f620e8f

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.
author Jim Meyering <meyering@redhat.com>
date Thu, 31 Dec 2009 15:59:29 +0100
parents f1fcdc72c51e
children dafd055586ef
files ChangeLog top/maint.mk
diffstat 2 files changed, 10 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2009-12-31  Jim Meyering  <meyering@redhat.com>
+
+	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  <ebb9@byu.net>
 
 	link-warning: always build headers with link warnings
--- a/top/maint.mk
+++ b/top/maint.mk
@@ -714,7 +714,7 @@
 	@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:
 	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 @@
 	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: