From 2afe2c73619a8727822edc51739ef12098c18162 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Mon, 11 May 2009 15:01:28 +0100 Subject: [PATCH] [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. --- Makefile.am | 9 +++++---- 1 file 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 ); \ -- 1.7.9.5