epiphany r8320 - branches/gnome-2-22



Author: chpe
Date: Mon Jun 30 18:21:50 2008
New Revision: 8320
URL: http://svn.gnome.org/viewvc/epiphany?rev=8320&view=rev

Log:
Support git in the ChangeLog generation rule.

Modified:
   branches/gnome-2-22/Makefile.am

Modified: branches/gnome-2-22/Makefile.am
==============================================================================
--- branches/gnome-2-22/Makefile.am	(original)
+++ branches/gnome-2-22/Makefile.am	Mon Jun 30 18:21:50 2008
@@ -48,7 +48,9 @@
 # Only build this when in an svn checkout.
 
 ChangeLog:
-	@if test -f $(top_srcdir)/.svn/entries; then \
+	@if test -f $(top_srcdir)/.git/HEAD; then \
+		git log --stat > $@; \
+	elif test -f $(top_srcdir)/.svn/entries; then \
 		svn log -v --xml -r HEAD:7394 $(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]