gnome-games r8561 - trunk



Author: jclinton
Date: Mon Jan 12 23:46:35 2009
New Revision: 8561
URL: http://svn.gnome.org/viewvc/gnome-games?rev=8561&view=rev

Log:
Allow ChangeLog from git-svn, format is different.

Modified:
   trunk/Makefile.am

Modified: trunk/Makefile.am
==============================================================================
--- trunk/Makefile.am	(original)
+++ trunk/Makefile.am	Mon Jan 12 23:46:35 2009
@@ -42,9 +42,13 @@
 
 # Build ChangeLog from SVN history (r7722 was the first ChangeLog-less checkin).
 # Only build this when in an svn checkout.
+# Yes, the output is different depending on which VCS you used to checkout. It
+# will change one last time once Gnome is finished transitioning to git.
 
 ChangeLog:
-	@if test -f $(top_srcdir)/.svn/entries; then \
+	@if test -f $(top_srcdir)/.git/HEAD; then \
+		git svn log --stat --no-color --since=2008-06-21 > $@; \
+	elif test -f $(top_srcdir)/.svn/entries; then \
 		svn log -v --xml -r HEAD:7722 $(SVN_ROOT)/$(SVN_MODULE)/$(SVN_BRANCH) | \
 			xsltproc --stringparam strip-prefix "$(SVN_MODULE)/$(SVN_BRANCH)" \
 				--stringparam include-rev "yes" $(top_srcdir)/svn2cl.xsl - > $@; \



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