diff options
-rw-r--r-- | Makefile.am | 9 |
1 files 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 |