From b6e785bc692dbf0e1a41465b44adf666033eec98 Mon Sep 17 00:00:00 2001 From: infirit Date: Sat, 9 Nov 2013 23:58:37 +0100 Subject: Fix ChangeLog gen --- Makefile.am | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Makefile.am b/Makefile.am index 1d402595..ee79cfdd 100644 --- a/Makefile.am +++ b/Makefile.am @@ -47,14 +47,13 @@ DISTCHECK_CONFIGURE_FLAGS = --disable-scrollkeeper --enable-gtk-doc dist-hook: @if test -d "$(srcdir)/.git"; \ then \ - from="git-import"; \ echo Creating ChangeLog && \ ( cd "$(top_srcdir)" && \ - echo '# Generate by configure. Do not edit.'; echo; \ - $(top_srcdir)/missing --run git log --stat $$from.. ) > ChangeLog.tmp \ - && mv -f ChangeLog.tmp $(top_distdir)/ChangeLog \ + echo '# Generated by Makefile. Do not edit.'; echo; \ + $(top_srcdir)/missing --run git log --stat ) > ChangeLog.tmp \ + && mv -f ChangeLog.tmp $(distdir)/ChangeLog \ || ( rm -f ChangeLog.tmp ; \ - echo Failed to generate ChangeLog >&2 ); \ + echo Failed to generate ChangeLog >&2 ); \ else \ echo A git clone is required to generate a ChangeLog >&2; \ fi -- cgit v1.2.1