Fix ChangeLog generation rule

This commit is contained in:
Behdad Esfahbod 2012-08-18 13:56:10 -04:00
parent 2f1747ed7d
commit 7068e534c4
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ ChangeLog:
$(AM_V_GEN) if test -d "$(top_srcdir)/.git"; then \
(GIT_DIR=$(top_srcdir)/.git $(top_srcdir)/missing --run \
git log $(CHANGELOG_RANGE) --stat) | fmt --split-only > $@.tmp \
&& mv -f $@.tmp "$(srcdir)/$@" \
&& mv -f $@.tmp "$(srcdir)/ChangeLog" \
|| ($(RM) $@.tmp; \
echo Failed to generate ChangeLog, your ChangeLog may be outdated >&2; \
(test -f $@ || echo git-log is required to generate this file >> "$(srcdir)/$@")); \