bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] maint.mk: create announcement template in ~/, not in /tmp


From: Jim Meyering
Subject: [PATCH] maint.mk: create announcement template in ~/, not in /tmp
Date: Thu, 31 Dec 2009 16:00:29 +0100

FYI,

>From acb9c9fcc70a0f65855e9939eb1b632b3a510d8f Mon Sep 17 00:00:00 2001
From: Jim Meyering <address@hidden>
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 d1e6234..ada6051 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2009-12-31  Jim Meyering  <address@hidden>
+
+       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  <address@hidden>

        link-warning: always build headers with link warnings
diff --git a/top/maint.mk b/top/maint.mk
index be061a6..2d25535 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:
--
1.6.6.325.g6f5f




reply via email to

[Prev in Thread] Current Thread [Next in Thread]