From: Akim Demaille Date: Mon, 30 Jul 2012 09:09:15 +0000 (+0200) Subject: maint.mk: absolute VPATH issue X-Git-Tag: v0.1~516 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=ed4e07a077c43052ebb60ea813698f289ba2f367;p=gnulib.git maint.mk: absolute VPATH issue * top/maint.mk (release-prep): Help Git find .git/. From Jim Meyering. --- 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.