gnome-web-photo r115 - trunk



Author: chpe
Date: Sat Aug 30 15:18:40 2008
New Revision: 115
URL: http://svn.gnome.org/viewvc/gnome-web-photo?rev=115&view=rev

Log:
Support ChangeLog generation from git repo.

Modified:
   trunk/Makefile.am

Modified: trunk/Makefile.am
==============================================================================
--- trunk/Makefile.am	(original)
+++ trunk/Makefile.am	Sat Aug 30 15:18:40 2008
@@ -18,7 +18,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 \
 		echo Generating ChangeLog...; \
 		svn log -v --xml -r HEAD:101 http://svn.gnome.org/svn/gnome-web-photo | \
 			xsltproc --stringparam strip-prefix "gnome-web-photo/trunk" \



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