pidgin: 8d34db0f: Move the NEWS check from automake's chec...

elb at elb at
Sat Oct 18 14:20:28 EDT 2008

Revision: 8d34db0f9667ef7735bb95c82f854d1a46ef2ddc
Ancestor: 14608747849c3dfc248d9cf2322ad0476b2015b0
Author: elb at
Date: 2008-10-18T18:14:32
Branch: im.pidgin.pidgin

Modified files:


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.

-------------- next part --------------
---	fc323374d61c97e5ae9f66508168f8d76527051b
+++	09ab1df4ff3ab99abd7de945e0c516113df508c2
@@ -34,6 +34,9 @@ version-check:
 # 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
---	91bbd9a8beea47057782b48649e4e69eabac0532
+++	3e5597514ea113dec46b484fa2932bfa65afc9da
@@ -74,7 +74,7 @@ AM_CONFIG_HEADER(config.h)
-AM_INIT_AUTOMAKE([dist-bzip2 check-news])

More information about the Commits mailing list