diff options
author | Christian Persch <chpe@src.gnome.org> | 2008-07-01 02:21:50 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2008-07-01 02:21:50 +0800 |
commit | a0d05c9d18f8b3d6a592626e92db47bd0d04d3e2 (patch) | |
tree | 9e8287f843894f4a58c8cc254325c223477c0c5f /Makefile.am | |
parent | dab86233546bbcf789c96296db892f5ec17d9023 (diff) | |
download | gsoc2013-epiphany-a0d05c9d18f8b3d6a592626e92db47bd0d04d3e2.tar gsoc2013-epiphany-a0d05c9d18f8b3d6a592626e92db47bd0d04d3e2.tar.gz gsoc2013-epiphany-a0d05c9d18f8b3d6a592626e92db47bd0d04d3e2.tar.bz2 gsoc2013-epiphany-a0d05c9d18f8b3d6a592626e92db47bd0d04d3e2.tar.lz gsoc2013-epiphany-a0d05c9d18f8b3d6a592626e92db47bd0d04d3e2.tar.xz gsoc2013-epiphany-a0d05c9d18f8b3d6a592626e92db47bd0d04d3e2.tar.zst gsoc2013-epiphany-a0d05c9d18f8b3d6a592626e92db47bd0d04d3e2.zip |
Support git in the ChangeLog generation rule.
svn path=/branches/gnome-2-22/; revision=8320
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index 930056b17..5d4dac92f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -48,7 +48,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 - > $@; \ |