[cogl] Makefile.am.release: Include NEWS in release message



commit 99564e78681331a296c8732f69844d5fa263c9b7
Author: Robert Bragg <robert linux intel com>
Date:   Tue Jan 17 00:31:56 2012 +0000

    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 <neil linux intel com>

 build/autotools/Makefile.am.release |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)
---
diff --git a/build/autotools/Makefile.am.release b/build/autotools/Makefile.am.release
index a38a0e2..6a536e5 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)/"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]