aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.am')
-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 - > $@; \