maint.mk: rename variable: s/noteworthy/gl_noteworthy_news_/
authorJim Meyering <meyering@redhat.com>
Sun, 14 Nov 2010 16:43:28 +0000 (17:43 +0100)
committerJim Meyering <meyering@redhat.com>
Sun, 14 Nov 2010 16:43:28 +0000 (17:43 +0100)
* top/maint.mk (gl_noteworthy_news_): Rename from "noteworthy"
and move definition closer to sole use.

ChangeLog
top/maint.mk

index 5548bef..b407e8a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2010-11-14  Jim Meyering  <meyering@redhat.com>
+
+       maint.mk: rename variable: s/noteworthy/gl_noteworthy_news_/
+       * top/maint.mk (gl_noteworthy_news_): Rename from "noteworthy"
+       and move definition closer to sole use.
+
 2010-11-13  Jim Meyering  <meyering@redhat.com>
 
        remove autoconf-2.57 work-around requiring AC_PROG_EGREP and AC_PROG_CPP
index 2c1be85..bd5431b 100644 (file)
@@ -1097,7 +1097,6 @@ emit_upload_commands:
        @echo =====================================
        @echo =====================================
 
-noteworthy = * Noteworthy changes in release ?.? (????-??-??) [?]
 define emit-commit-log
   printf '%s\n' 'post-release administrivia' '' \
     '* NEWS: Add header line for next release.' \
@@ -1135,6 +1134,7 @@ alpha beta stable: $(local-check) writable-files no-submodule-changes
 # Override this in cfg.mk if you follow different procedures.
 release-prep-hook ?= release-prep
 
+gl_noteworthy_news_ = * Noteworthy changes in release ?.? (????-??-??) [?]
 .PHONY: release-prep
 release-prep:
        case $$RELEASE_TYPE in alpha|beta|stable) ;; \
@@ -1146,7 +1146,7 @@ release-prep:
        fi
        echo $(VERSION) > $(prev_version_file)
        $(MAKE) update-NEWS-hash
-       perl -pi -e '$$. == 3 and print "$(noteworthy)\n\n\n"' NEWS
+       perl -pi -e '$$. == 3 and print "$(gl_noteworthy_news_)\n\n\n"' NEWS
        $(emit-commit-log) > .ci-msg
        $(VC) commit -F .ci-msg -a
        rm .ci-msg