# HG changeset patch # User Akim Demaille # Date 1343472053 -7200 # Node ID 631997178451a2cb0209af3a4e2f52ed3b734610 # Parent 2d65f823588d4aa966d083bceae7e2b20277ffa3 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). diff -r 2d65f823588d -r 631997178451 ChangeLog --- a/ChangeLog Sun Jul 29 00:30:48 2012 +0200 +++ b/ChangeLog Sat Jul 28 12:40:53 2012 +0200 @@ -1,3 +1,9 @@ +2012-07-29 Akim Demaille + + 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 clean-temp: Fix memory leak. diff -r 2d65f823588d -r 631997178451 top/maint.mk --- a/top/maint.mk Sun Jul 29 00:30:48 2012 +0200 +++ b/top/maint.mk Sat Jul 28 12:40:53 2012 +0200 @@ -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