changeset 13871:8c865631b168

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.
author Jim Meyering <meyering@redhat.com>
date Sun, 14 Nov 2010 17:43:28 +0100
parents 11151a97f5ef
children a7f5aea6a5a7
files ChangeLog top/maint.mk
diffstat 2 files changed, 8 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sat Nov 13 22:25:32 2010 +0100
+++ b/ChangeLog	Sun Nov 14 17:43:28 2010 +0100
@@ -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
--- a/top/maint.mk	Sat Nov 13 22:25:32 2010 +0100
+++ b/top/maint.mk	Sun Nov 14 17:43:28 2010 +0100
@@ -1097,7 +1097,6 @@
 	@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 @@
 # 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 @@
 	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