gtkmm r979 - trunk



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

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



Modified:
   trunk/ChangeLog
   trunk/Makefile.am

Modified: trunk/Makefile.am
==============================================================================
--- trunk/Makefile.am	(original)
+++ trunk/Makefile.am	Tue Mar  4 16:38:55 2008
@@ -71,7 +71,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]