From d3e32dfbfe9caa0db50817e76a16b7332baed54a Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Sun, 10 Dec 1995 23:24:20 +0000 Subject: [PATCH] New version. Don't allow distribution if NEWS file not up-to-date. --- ChangeLog | 5 +++++ Makefile.am | 8 +++++++- Makefile.in | 8 +++++++- NEWS | 4 ++++ configure | 2 +- configure.in | 2 +- lib/am/Makefile.am | 8 +++++++- version.texi | 4 ++-- 8 files changed, 34 insertions(+), 7 deletions(-) diff --git a/ChangeLog b/ChangeLog index 7f92715a..1f103adb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ Sun Dec 10 11:59:33 1995 Tom Tromey + * Makefile.am (cvs-dist): Don't release unless NEWS updated. + Ensure 'checks' pass before release. + + * configure.in (VERSION): Version 0.26. + * Makefile.am (check-local): Only look at [a-z]*.am. Fixed sense of 'if' test. diff --git a/Makefile.am b/Makefile.am index 0b78481e..2c0a8352 100644 --- a/Makefile.am +++ b/Makefile.am @@ -40,7 +40,13 @@ check-local: automake automake: automake.in CONFIG_FILES=$@ CONFIG_HEADERS= ./config.status -# Tag before making distribution. +# Tag before making distribution. Also, don't make a distribution if +# checks fail. Also, make sure the NEWS file is up-to-date. cvs-dist: + $(MAKE) check + if sed 1q NEWS | grep -e "$(VERSION)"; then :; else \ + echo "NEWS not updated; not releasing" 1>&2; \ + exit 1; \ + fi cvs tag `echo "Release-$(VERSION)" | sed 's/\./-/g'` $(MAKE) dist diff --git a/Makefile.in b/Makefile.in index 7fe35d1d..acf1fc1d 100644 --- a/Makefile.in +++ b/Makefile.in @@ -307,8 +307,14 @@ check-local: automake automake: automake.in CONFIG_FILES=$@ CONFIG_HEADERS= ./config.status -# Tag before making distribution. +# Tag before making distribution. Also, don't make a distribution if +# checks fail. Also, make sure the NEWS file is up-to-date. cvs-dist: + $(MAKE) check + if sed 1q NEWS | grep -e "$(VERSION)"; then :; else \ + echo "NEWS not updated; not releasing" 1>&2; \ + exit 1; \ + fi cvs tag `echo "Release-$(VERSION)" | sed 's/\./-/g'` $(MAKE) dist diff --git a/NEWS b/NEWS index 27a5b30c..dea0209c 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,7 @@ +New in 0.25: +* Bug fixes. +* Works with Perl 4 again. + New in 0.24: * New uniform naming scheme. * --strictness option diff --git a/configure b/configure index dd4b192e..396b27ff 100755 --- a/configure +++ b/configure @@ -522,7 +522,7 @@ cat >> confdefs.h <> confdefs.h <&2; \ + exit 1; \ + fi cvs tag `echo "Release-$(VERSION)" | sed 's/\./-/g'` $(MAKE) dist diff --git a/version.texi b/version.texi index 21f5a344..1335b001 100644 --- a/version.texi +++ b/version.texi @@ -1,3 +1,3 @@ @set UPDATED 9 December -@set EDITION 0.25 -@set VERSION 0.25 +@set EDITION 0.26 +@set VERSION 0.26 -- 2.43.5