bug-gnulib
[Top][All Lists]
Advanced

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

[PATCH] maint.mk: rename variable: s/noteworthy/gl_noteworthy_news_/


From: Jim Meyering
Subject: [PATCH] maint.mk: rename variable: s/noteworthy/gl_noteworthy_news_/
Date: Sun, 14 Nov 2010 17:49:04 +0100

I searched for a project that overrides this noteworthy definition,
but found none.  So I've renamed the variable to start with gl_,
and to be a little more descriptive:

>From 321fd42fee5eb894decb2b8de93698071fac3c29 Mon Sep 17 00:00:00 2001
From: Jim Meyering <address@hidden>
Date: Sun, 14 Nov 2010 17:43:28 +0100
Subject: [PATCH] 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.
---
 ChangeLog    |    6 ++++++
 top/maint.mk |    4 ++--
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 5548bef..b407e8a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2010-11-14  Jim Meyering  <address@hidden>
+
+       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  <address@hidden>

        remove autoconf-2.57 work-around requiring AC_PROG_EGREP and AC_PROG_CPP
diff --git a/top/maint.mk b/top/maint.mk
index 2c1be85..bd5431b 100644
--- a/top/maint.mk
+++ b/top/maint.mk
@@ -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
--
1.7.3.2.4.g60aa9



reply via email to

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