提交 7068e534 编写于 作者: B Behdad Esfahbod

Fix ChangeLog generation rule

上级 2f1747ed
...@@ -38,7 +38,7 @@ ChangeLog: ...@@ -38,7 +38,7 @@ 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 \
&& mv -f $@.tmp "$(srcdir)/$@" \ && mv -f $@.tmp "$(srcdir)/ChangeLog" \
|| ($(RM) $@.tmp; \ || ($(RM) $@.tmp; \
echo Failed to generate ChangeLog, your ChangeLog may be outdated >&2; \ echo Failed to generate ChangeLog, your ChangeLog may be outdated >&2; \
(test -f $@ || echo git-log is required to generate this file >> "$(srcdir)/$@")); \ (test -f $@ || echo git-log is required to generate this file >> "$(srcdir)/$@")); \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册