diff Makefile.am @ 24304:cb0aa91430bb

disapproval of revision '4f931125ffce24ace6bf298cc58d620c1a975aa1'
author Stu Tomlinson <stu@nosnilmot.com>
date Mon, 27 Oct 2008 00:58:03 +0000
parents 8643ff79db35
children b31d2ca01b7a
line wrap: on
line diff
--- a/Makefile.am	Sun Oct 26 22:16:17 2008 +0000
+++ b/Makefile.am	Mon Oct 27 00:58:03 2008 +0000
@@ -34,6 +34,13 @@
 # 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
+
 # When doing a new minor (or major) release (X.Y.0), there must be a section in
 # ChangeLog.API.
 	echo $(PACKAGE_VERSION) | grep -v "^[0-9]\+\.[0-9]\+\.0$$" >/dev/null || head ChangeLog.API | grep "^version $(PACKAGE_VERSION) (`date +%m/%d/%Y`):$$" >/dev/null