desktop-data-model r7281 - trunk



Author: otaylor
Date: Thu Apr 24 19:03:56 2008
New Revision: 7281
URL: http://svn.gnome.org/viewvc/desktop-data-model?rev=7281&view=rev

Log:
- Version rule
- Add a 'tag' target


Modified:
   trunk/Makefile.am
   trunk/configure.ac

Modified: trunk/Makefile.am
==============================================================================
--- trunk/Makefile.am	(original)
+++ trunk/Makefile.am	Thu Apr 24 19:03:56 2008
@@ -34,3 +34,13 @@
 include Makefile-libhippo.am
 include Makefile-libengine.am
 include Makefile-engine-dbus.am
+
+.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 && \
+	echo svn cp $$URL $$TAGURL)

Modified: trunk/configure.ac
==============================================================================
--- trunk/configure.ac	(original)
+++ trunk/configure.ac	Thu Apr 24 19:03:56 2008
@@ -6,7 +6,7 @@
 
 AC_CANONICAL_TARGET
 
-AM_INIT_AUTOMAKE(desktop-data-model, 1.2.3)
+AM_INIT_AUTOMAKE(desktop-data-model, 1.2.4)
 
 AM_CONFIG_HEADER(config/config.h)
 



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