From 99564e78681331a296c8732f69844d5fa263c9b7 Mon Sep 17 00:00:00 2001 From: Robert Bragg Date: Tue, 17 Jan 2012 00:31:56 +0000 Subject: [PATCH] Makefile.am.release: Include NEWS in release message This updates the make release-message rule to include the latest NEWS section at the top of the release message. The release messages currently contain a lot of boring boilerplate that I imagine very few people are really be interested in. For someone idly following Cogl development though it's quite possible they'd like to see a digestible summary of what has changed in this release which is what the NEWS section provides. Reviewed-by: Neil Roberts --- build/autotools/Makefile.am.release | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/build/autotools/Makefile.am.release b/build/autotools/Makefile.am.release index a38a0e289..6a536e5d0 100644 --- a/build/autotools/Makefile.am.release +++ b/build/autotools/Makefile.am.release @@ -76,10 +76,20 @@ release-message: @echo " Subject: Release Cogl $(COGL_1_VERSION) ($(COGL_RELEASE_STATUS))" @echo " Contents:" @csplit -q --prefix=.README-section- $(top_builddir)/README '/^--$$/' '{*}' + @csplit -q --prefix=.NEWS-section- NEWS '/^Cogl/' '{*}' @echo "--- CUT HERE ---" @echo "Good news, everyone!" @echo "" - @echo "A new Cogl $(COGL_RELEASE_STATUS) is now available at:" + @echo "A new Cogl $(COGL_RELEASE_STATUS) ($(COGL_1_VERSION)) is now available:" + @echo "" + @echo "LATEST NEWS" + @echo "-------------------------------------------------------------------------------" + @echo "" + @cat .NEWS-section-01 + @echo "FETCHING THE RELEASE" + @echo "-------------------------------------------------------------------------------" + @echo "" + @echo "Tarballs can be downloaded from:" @echo "" @echo " http://source.clutter-project.org/sources/cogl/1.$(COGL_1_MINOR_VERSION)/" @echo " http://download.gnome.org/sources/cogl/1.$(COGL_1_MINOR_VERSION)/"