hippo-canvas r7255 - trunk
- From: walters svn gnome org
- To: svn-commits-list gnome org
- Subject: hippo-canvas r7255 - trunk
- Date: Thu, 24 Apr 2008 20:14:45 +0100 (BST)
Author: walters
Date: Thu Apr 24 19:14:44 2008
New Revision: 7255
URL: http://svn.gnome.org/viewvc/hippo-canvas?rev=7255&view=rev
Log:
Add tag rule from d-d-m, by Owen
Modified:
trunk/Makefile.am
Modified: trunk/Makefile.am
==============================================================================
--- trunk/Makefile.am (original)
+++ trunk/Makefile.am Thu Apr 24 19:14:44 2008
@@ -60,3 +60,13 @@
endif
DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc
+
+.PHONY: tag
+tag:
+ @(svn status | grep '^[MA]' > /dev/null && echo "Uncommitted changes, can't tag") || \
+ (V=`echo $(VERSION) | sed s/\\\\./_/g` && \
+ URL=`svn info --xml | grep '<url>' | sed 's@</\?url>@@g'` && \
+ PACKAGE=`echo $$URL | perl -pe 's */(.*)/ * $$1@; tr/a-z-/A-Z_/;'` && \
+ TAGURL=`echo $$URL | sed "s trunk@tags/$${PACKAGE}_$$V@"` && \
+ echo Tagging as $$TAGURL && \
+ svn cp -m "Tag as $${PACKAGE}_$$V" $$URL $$TAGURL)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]