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

elb at pidgin.im elb at pidgin.im
Sat Oct 18 14:20:28 EDT 2008


-----------------------------------------------------------------
Revision: 8d34db0f9667ef7735bb95c82f854d1a46ef2ddc
Ancestor: 14608747849c3dfc248d9cf2322ad0476b2015b0
Author: elb at pidgin.im
Date: 2008-10-18T18:14:32
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/8d34db0f9667ef7735bb95c82f854d1a46ef2ddc

Modified files:
        Makefile.am configure.ac

ChangeLog: 

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 --------------
============================================================
--- Makefile.am	fc323374d61c97e5ae9f66508168f8d76527051b
+++ Makefile.am	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
============================================================
--- configure.ac	91bbd9a8beea47057782b48649e4e69eabac0532
+++ configure.ac	3e5597514ea113dec46b484fa2932bfa65afc9da
@@ -74,7 +74,7 @@ AM_CONFIG_HEADER(config.h)
 
 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


More information about the Commits mailing list