gtkmm r976 - branches/gtkmm-2-12



Author: jjongsma
Date: Fri Feb 29 17:45:27 2008
New Revision: 976
URL: http://svn.gnome.org/viewvc/gtkmm?rev=976&view=rev

Log:
	* Makefile.am: add a 'release' target to the makefile.  This target will do
	a distcheck, and if successful it will tag the repository with the current
	release number and upload the tarball to master.gnome.org



Modified:
   branches/gtkmm-2-12/ChangeLog
   branches/gtkmm-2-12/Makefile.am

Modified: branches/gtkmm-2-12/Makefile.am
==============================================================================
--- branches/gtkmm-2-12/Makefile.am	(original)
+++ branches/gtkmm-2-12/Makefile.am	Fri Feb 29 17:45:27 2008
@@ -65,5 +65,18 @@
 doc-rebuild:
 	(cd docs && $(MAKE) $(AM_MAKEFLAGS) doc-rebuild)
 
-.PHONY: post-html post-html-local post-html-recursive doc-clean doc-clean-recursive doc-rebuild
+SVN_REV=`svnversion -n`
+URL_KEY=URL:
+SVN_PATH=`svn info |grep "$(URL_KEY)" |sed -e "s/$(URL_KEY)\s*//"`
+ROOT_KEY=Repository Root:
+SVN_ROOT=`svn info |grep "$(ROOT_KEY)" |sed -e "s/$(ROOT_KEY)\s*//"`
+
+tag-release: distcheck
+	svn cp -m "tag $(PACKAGE) $(VERSION)" $(SVN_PATH)@$(SVN_REV) $(SVN_ROOT)/tags/$(PACKAGE)-$(VERSION)
+
+release: tag-release
+	scp $(DIST_ARCHIVES) master.gnome.org:
+	@echo "Tarball uploaded.  Now run install-module on master.gnome.org"
+
+.PHONY: post-html post-html-local post-html-recursive doc-clean doc-clean-recursive doc-rebuild release tag-release
 



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