diff options
-rw-r--r-- | Makefile.am | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/Makefile.am b/Makefile.am index 028c047c..c37e6929 100644 --- a/Makefile.am +++ b/Makefile.am @@ -45,14 +45,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 |