gtkmm r978 - branches/gtkmm-2-12



Author: jjongsma
Date: Tue Mar  4 16:37:09 2008
New Revision: 978
URL: http://svn.gnome.org/viewvc/gtkmm?rev=978&view=rev

Log:
	* Makefile.am: updated the 'release' taget to give a little bit more helpful
	error messages



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	Tue Mar  4 16:37:09 2008
@@ -72,7 +72,10 @@
 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)
+	@svn cp -r$(SVN_REV) -m "tag $(PACKAGE) $(VERSION)" $(SVN_PATH) $(SVN_ROOT)/tags/$(PACKAGE)-$(VERSION) \
+		|| (echo "Tagging failed.  Do you have local changes that are not committed?" \
+		&& echo "Try running `svn update`." && false)
+	@echo "Release Tagged."
 
 release: tag-release
 	scp $(DIST_ARCHIVES) master.gnome.org:



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