summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorJohan Dahlin <johan@src.gnome.org>2008-08-31 22:09:53 +0000
committerJohan Dahlin <johan@src.gnome.org>2008-08-31 22:09:53 +0000
commitcf35c783f9c98060ef2e14de5ca422a274313a96 (patch)
treea55bd0855b4b97e4dfb7e30112839b96562af69b /Makefile.am
parent18846a02e60b51ea1df41f4a6882f155ff5a0bd2 (diff)
downloadgobject-introspection-cf35c783f9c98060ef2e14de5ca422a274313a96.tar.gz
Add a release-tag rule
svn path=/trunk/; revision=560
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am9
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index dc472592..41166a4d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -35,3 +35,12 @@ EXTRA_DIST = \
misc/pep8.py \
misc/pyflakes.py
+release-tag:
+ @TRUNK=`svn info --xml|egrep ^"<url>"|cut -d\> -f2|cut -d\< -f1`; \
+ ROOT=`echo $$TRUNK|cut -d/ -f-5`; \
+ SVNVERSION=`echo $(VERSION)|sed s/\\\./_/g`;\
+ echo "* Tagging $(VERSION)"; \
+ echo svn cp -m "Tag $(VERSION)" \
+ $$TRUNK \
+ $$ROOT/tags/GOBJECT_INTROSPECTION_$$SVNVERSION
+