epiphany r8315 - trunk



Author: chpe
Date: Mon Jun 30 10:39:14 2008
New Revision: 8315
URL: http://svn.gnome.org/viewvc/epiphany?rev=8315&view=rev

Log:
Support git for the ChangeLog generation rule.


Modified:
   trunk/Makefile.am

Modified: trunk/Makefile.am
==============================================================================
--- trunk/Makefile.am	(original)
+++ trunk/Makefile.am	Mon Jun 30 10:39:14 2008
@@ -43,7 +43,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]