summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.prev-version2
-rw-r--r--ChangeLog6
-rw-r--r--NEWS3
-rw-r--r--cfg.mk3
-rw-r--r--maint.mk8
5 files changed, 21 insertions, 1 deletions
diff --git a/.prev-version b/.prev-version
index 081c0d85..a01a6e46 100644
--- a/.prev-version
+++ b/.prev-version
@@ -1 +1 @@
-2.65
+2.66
diff --git a/ChangeLog b/ChangeLog
index 35a44314..ac17d8cd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2010-07-02 Eric Blake <eblake@redhat.com>
+ Post-release administrivia.
+ * maint.mk (NEWS_hash): Define.
+ * NEWS: Add header line for next release.
+ * .prev-version: Record previous version.
+ * cfg.mk (old_NEWS_hash): Auto-update.
+
Release Version 2.66.
* NEWS: Mention the release.
diff --git a/NEWS b/NEWS
index e013624f..72826975 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,8 @@
GNU Autoconf NEWS - User visible changes.
+* Noteworthy changes in release ?.? (????-??-??) [?]
+
+
* Major changes in Autoconf 2.66 (2010-07-02) [stable]
Released by Eric Blake, based on git versions 2.65.*.
diff --git a/cfg.mk b/cfg.mk
index 6ba0e14e..e3c5800f 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -108,3 +108,6 @@ local-checks-to-skip ?= \
update-copyright-env = \
UPDATE_COPYRIGHT_USE_INTERVALS=0 \
UPDATE_COPYRIGHT_MAX_LINE_LENGTH=72
+
+# Prevent incorrect NEWS edits.
+old_NEWS_hash = d41d8cd98f00b204e9800998ecf8427e
diff --git a/maint.mk b/maint.mk
index 43d07591..efc5062c 100644
--- a/maint.mk
+++ b/maint.mk
@@ -383,6 +383,14 @@ strftime-check:
check-AUTHORS:
test ! -d src || $(MAKE) -C src $@
+NEWS_hash = \
+ $$(sed -n '/^\*.* $(PREV_VERSION_REGEXP) ([0-9-]*)/,$$p' \
+ $(srcdir)/NEWS \
+ | perl -0777 -pe \
+ 's/^Copyright.+?Free\sSoftware\sFoundation,\sInc\.\n//ms' \
+ | md5sum - \
+ | sed 's/ .*//')
+
# Ensure that we don't accidentally insert an entry into an old NEWS block.
sc_immutable_NEWS:
@if test -f $(srcdir)/NEWS; then \