diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Makefile.am | 5 |
2 files changed, 9 insertions, 1 deletions
@@ -1,3 +1,8 @@ +2008-03-04 Jonathon Jongsma <jjongsma@gnome.org> + + * Makefile.am: updated the 'release' target to give a bit more helpful error + messages + 2008-03-04 Murray Cumming <murrayc@murrayc.com> * gio/src/gio_docs.xml: Regenerated with docextract_to_xml.py. diff --git a/Makefile.am b/Makefile.am index a6fbe114..cc5fbee8 100644 --- a/Makefile.am +++ b/Makefile.am @@ -66,7 +66,10 @@ 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) + @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: |