summaryrefslogtreecommitdiff
path: root/top
diff options
context:
space:
mode:
authorAkim Demaille <akim@lrde.epita.fr>2012-07-28 12:40:53 +0200
committerAkim Demaille <akim@lrde.epita.fr>2012-07-29 13:21:03 +0200
commitf5599c804c70b18a1fa717b3c42a520a6649dbf2 (patch)
tree89e91b96b5d076f5cbb9fd7100c32559de330a6e /top
parent392f10a02b1effd254f3a751e42daccf929c3efa (diff)
downloadgnulib-f5599c804c70b18a1fa717b3c42a520a6649dbf2.tar.gz
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).
Diffstat (limited to 'top')
-rw-r--r--top/maint.mk9
1 files changed, 5 insertions, 4 deletions
diff --git a/top/maint.mk b/top/maint.mk
index baff0e9890..2af938e6ab 100644
--- a/top/maint.mk
+++ b/top/maint.mk
@@ -1256,10 +1256,11 @@ bootstrap-tools ?= autoconf,automake,gnulib
# 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