Mercurial > hg > octave-lojdl > gnulib-hg
changeset 17008:631997178451
maint.mk: absolute VPATH build fix
* top/maint.mk (gpg_key_ID): Help git find .git when, for instance,
$(srcdir) is not a parent of $(builddir).
author | Akim Demaille <akim@lrde.epita.fr> |
---|---|
date | Sat, 28 Jul 2012 12:40:53 +0200 |
parents | 2d65f823588d |
children | 2b4084737797 |
files | ChangeLog top/maint.mk |
diffstat | 2 files changed, 11 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2012-07-29 Akim Demaille <akim@lrde.epita.fr> + + maint.mk: absolute VPATH build fix + * top/maint.mk (gpg_key_ID): Help git find .git when, for instance, + $(srcdir) is not a parent of $(builddir). + 2012-07-28 John Darrington <john@darrington.wattle.id.au> clean-temp: Fix memory leak.
--- a/top/maint.mk +++ b/top/maint.mk @@ -1256,10 +1256,11 @@ # If it's not already specified, derive the GPG key ID from # the signed tag we've just applied to mark this release. -gpg_key_ID ?= \ - $$(git cat-file tag v$(VERSION) \ - | gpgv --status-fd 1 --keyring /dev/null - - 2>/dev/null \ - | awk '/^\[GNUPG:\] ERRSIG / {print $$3; exit}') +gpg_key_ID ?= \ + $$(cd $(srcdir) \ + && git cat-file tag v$(VERSION) \ + | gpgv --status-fd 1 --keyring /dev/null - - 2>/dev/null \ + | awk '/^\[GNUPG:\] ERRSIG / {print $$3; exit}') translation_project_ ?= coordinator@translationproject.org