Fix ChangeLog regen

This commit is contained in:
Behdad Esfahbod 2013-05-30 18:04:24 -04:00
parent c1824daefa
commit 280e52ae95
1 changed files with 3 additions and 2 deletions

View File

@ -25,7 +25,8 @@ MAINTAINERCLEANFILES = \
# ChangeLog generation # ChangeLog generation
# #
CHANGELOG_RANGE = CHANGELOG_RANGE =
ChangeLog: ChangeLog: $(srcdir)/ChangeLog
$(srcdir)/ChangeLog:
$(AM_V_GEN) if test -d "$(top_srcdir)/.git"; then \ $(AM_V_GEN) if test -d "$(top_srcdir)/.git"; then \
(GIT_DIR=$(top_srcdir)/.git $(top_srcdir)/missing --run \ (GIT_DIR=$(top_srcdir)/.git $(top_srcdir)/missing --run \
git log $(CHANGELOG_RANGE) --stat) | fmt --split-only > $@.tmp \ git log $(CHANGELOG_RANGE) --stat) | fmt --split-only > $@.tmp \
@ -38,7 +39,7 @@ ChangeLog:
(echo A git checkout and git-log is required to generate ChangeLog >&2 && \ (echo A git checkout and git-log is required to generate ChangeLog >&2 && \
echo A git checkout and git-log is required to generate this file >> "$(srcdir)/$@"); \ echo A git checkout and git-log is required to generate this file >> "$(srcdir)/$@"); \
fi fi
.PHONY: $(srcdir)/ChangeLog .PHONY: ChangeLog $(srcdir)/ChangeLog
# #