# HG changeset patch # User Ethan Blanton # Date 1224353672 0 # Node ID 2f83c37c65e3248c12b65954cb5c3f9245dd944c # Parent 348af0553cf119b69e34bf1e1d388d42e5c57915 Move the NEWS check from automake's check-news to the version-check target. This causes it to abort 'make release' instead of 'make distcheck', like the other version checks. diff -r 348af0553cf1 -r 2f83c37c65e3 Makefile.am --- a/Makefile.am Sat Oct 18 17:50:13 2008 +0000 +++ b/Makefile.am Sat Oct 18 18:14:32 2008 +0000 @@ -34,6 +34,9 @@ # We don't want to release development versions. test x`echo $(PACKAGE_VERSION) | grep dev` = x +# Make sure there is a NEWS entry for this version + head NEWS | grep "^$(PACKAGE_VERSION) (`date +%m/%d/%Y`):$$" > /dev/null + # Ensure NEWS has no spaces at the start of a line. # Using spaces instead of tabs there is a common mistake. test x`grep "^ " NEWS` = x diff -r 348af0553cf1 -r 2f83c37c65e3 configure.ac --- a/configure.ac Sat Oct 18 17:50:13 2008 +0000 +++ b/configure.ac Sat Oct 18 18:14:32 2008 +0000 @@ -74,7 +74,7 @@ AC_CANONICAL_SYSTEM AM_CONFIG_HEADER(config.h) -AM_INIT_AUTOMAKE([dist-bzip2 check-news]) +AM_INIT_AUTOMAKE([dist-bzip2]) PURPLE_MAJOR_VERSION=purple_major_version PURPLE_MINOR_VERSION=purple_minor_version