From ed4e07a077c43052ebb60ea813698f289ba2f367 Mon Sep 17 00:00:00 2001 From: Akim Demaille Date: Mon, 30 Jul 2012 11:09:15 +0200 Subject: [PATCH] maint.mk: absolute VPATH issue * top/maint.mk (release-prep): Help Git find .git/. From Jim Meyering. --- ChangeLog | 6 ++++++ top/maint.mk | 5 ++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index ddd205e16..ad0c05b9a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2012-07-30 Akim Demaille + + maint.mk: absolute VPATH issue + * top/maint.mk (release-prep): Help Git find .git/. + From Jim Meyering. + 2012-07-29 Akim Demaille gitlog-to-changelog: fix previous change diff --git a/top/maint.mk b/top/maint.mk index 2af938e6a..fa0280e3a 100644 --- a/top/maint.mk +++ b/top/maint.mk @@ -1387,9 +1387,8 @@ release-prep: echo $(VERSION) > $(prev_version_file) $(MAKE) update-NEWS-hash perl -pi -e '$$. == 3 and print "$(gl_noteworthy_news_)\n\n\n"' $(srcdir)/NEWS - $(emit-commit-log) > .ci-msg - $(VC) commit -F .ci-msg -a - rm .ci-msg + msg=$$($(emit-commit-log)) || exit 1; \ + (cd $(srcdir) && $(VC) commit -m "$$msg" -a) # Override this with e.g., -s $(srcdir)/some_other_name.texi # if the default $(PACKAGE)-derived name doesn't apply. -- 2.11.0