diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2009-05-11 15:01:28 +0100 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2009-05-11 15:01:28 +0100 |
commit | 2afe2c73619a8727822edc51739ef12098c18162 (patch) | |
tree | a3384cd3a050be248fd87246bdec07db550fbf1b /Makefile.am | |
parent | fef669b1c24a3bd9de1bd8f7b78ca80ead0e73f3 (diff) | |
download | clutter-gtk-2afe2c73619a8727822edc51739ef12098c18162.tar.gz |
[build] Generate ChangeLog starting from the git import
Instead of using the SVN entries to generate the ChangeLog we
should use the git-import tag and only start from the point in
the history when we switched to Git.
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Makefile.am b/Makefile.am index e2c500a..e84e9d7 100644 --- a/Makefile.am +++ b/Makefile.am @@ -23,10 +23,11 @@ DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc --enable-maintainer-flags dist-hook: @if test -d "$(srcdir)/.git"; \ then \ - echo Creating ChangeLog && \ - ( cd "$(top_srcdir)" && \ - echo '# Generated by configure. Do NOT edit.'; echo; \ - $(top_srcdir)/missing --run git log --stat ) > ChangeLog.tmp \ + from="git-import" ; \ + echo Creating ChangeLog \ + && ( cd "$(top_srcdir)" \ + && echo '# Generated by configure. Do NOT edit.'; echo; \ + $(top_srcdir)/missing --run git log --stat $$from.. ) > ChangeLog.tmp \ && mv -f ChangeLog.tmp "$(top_distdir)/ChangeLog" \ || ( rm -f ChangeLog.tmp ; \ echo Failed to generate ChangeLog >&2 ); \ |