1
0
Fork 0

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>
This commit is contained in:
Robert Bragg 2012-01-17 00:31:56 +00:00
parent 1a7ed26036
commit 99564e7868

View file

@ -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)/"