aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Persch <chpe@src.gnome.org>2008-06-30 18:39:14 +0800
committerChristian Persch <chpe@src.gnome.org>2008-06-30 18:39:14 +0800
commit170bb497d473817ca1811f5745021b1cf8c3863e (patch)
treefb2ed2b009f62ee3b4ce223cef3a207416166e00
parent930d8c836af03046b56e016182ab0bb7f28b9e72 (diff)
downloadgsoc2013-epiphany-170bb497d473817ca1811f5745021b1cf8c3863e.tar
gsoc2013-epiphany-170bb497d473817ca1811f5745021b1cf8c3863e.tar.gz
gsoc2013-epiphany-170bb497d473817ca1811f5745021b1cf8c3863e.tar.bz2
gsoc2013-epiphany-170bb497d473817ca1811f5745021b1cf8c3863e.tar.lz
gsoc2013-epiphany-170bb497d473817ca1811f5745021b1cf8c3863e.tar.xz
gsoc2013-epiphany-170bb497d473817ca1811f5745021b1cf8c3863e.tar.zst
gsoc2013-epiphany-170bb497d473817ca1811f5745021b1cf8c3863e.zip
Support git for the ChangeLog generation rule.
svn path=/trunk/; revision=8315
-rw-r--r--Makefile.am4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 3a3f7520a..8cf0c38de 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -43,7 +43,9 @@ distuninstallcheck_listfiles = find . -type f -print | grep -v 'icon-theme.cache
# 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 - > $@; \