aboutsummaryrefslogtreecommitdiffstats
path: root/tests/gpg
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2017-11-21 06:35:10 +0000
committerNIIBE Yutaka <[email protected]>2017-11-21 06:35:10 +0000
commitc441fb73130f4c117094d7da4de9fe56f886e65d (patch)
tree01acad29fe6d2bfab1ce2c8e650777fe418c7cfd /tests/gpg
parentqt: Fix IODeviceDataProvider with Process (diff)
downloadgpgme-c441fb73130f4c117094d7da4de9fe56f886e65d.tar.gz
gpgme-c441fb73130f4c117094d7da4de9fe56f886e65d.zip
tests: Make portability fix.
* lang/python/tests/Makefile.am: Distinguish target and path. * tests/gpg/Makefile.am: Ditto. * tests/gpgsm/Makefile.am: Ditto. -- GNU Make is powerful enough to match path to target (and vice versa), but BSD make is not. GnuPG-bug-id: 3056 Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'tests/gpg')
-rw-r--r--tests/gpg/Makefile.am8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/gpg/Makefile.am b/tests/gpg/Makefile.am
index b2e8837a..642e0a08 100644
--- a/tests/gpg/Makefile.am
+++ b/tests/gpg/Makefile.am
@@ -88,7 +88,7 @@ export GNUPGHOME := $(abs_builddir)
export GPG_AGENT_INFO :=
-./private-keys-v1.d/gpg-sample.stamp: $(srcdir)/$(private_keys)
+private-keys-v1.d/gpg-sample.stamp: $(srcdir)/$(private_keys)
-gpgconf --kill all
$(MKDIR_P) ./private-keys-v1.d
for k in $(private_keys); do \
@@ -96,17 +96,17 @@ export GPG_AGENT_INFO :=
done
echo x > ./private-keys-v1.d/gpg-sample.stamp
-./pubring-stamp: $(srcdir)/pubdemo.asc ./private-keys-v1.d/gpg-sample.stamp
+pubring-stamp: $(srcdir)/pubdemo.asc ./private-keys-v1.d/gpg-sample.stamp
$(GPG) --batch --no-permission-warning \
--import $(srcdir)/pubdemo.asc
-$(GPG) --batch --no-permission-warning \
--import $(srcdir)/secdemo.asc
echo x > ./pubring-stamp
-./gpg.conf:
+gpg.conf:
# This is required for t-sig-notations.
echo no-force-v3-sigs > ./gpg.conf
-./gpg-agent.conf:
+gpg-agent.conf:
# This is required for gpg2, which does not support command fd.
echo pinentry-program $(abs_srcdir)/pinentry > ./gpg-agent.conf