diff options
author | NIIBE Yutaka <[email protected]> | 2017-11-21 06:35:10 +0000 |
---|---|---|
committer | NIIBE Yutaka <[email protected]> | 2017-11-21 06:35:10 +0000 |
commit | c441fb73130f4c117094d7da4de9fe56f886e65d (patch) | |
tree | 01acad29fe6d2bfab1ce2c8e650777fe418c7cfd /tests/gpgsm | |
parent | qt: Fix IODeviceDataProvider with Process (diff) | |
download | gpgme-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/gpgsm')
-rw-r--r-- | tests/gpgsm/Makefile.am | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/gpgsm/Makefile.am b/tests/gpgsm/Makefile.am index 274ba9d0..3774c5ff 100644 --- a/tests/gpgsm/Makefile.am +++ b/tests/gpgsm/Makefile.am @@ -58,22 +58,22 @@ export GPG_AGENT_INFO := BUILT_SOURCES = gpgsm.conf trustlist.txt pubring-stamp \ private-keys-v1.d/gpg-sample.stamp -./pubring-stamp: $(srcdir)/cert_g10code_test1.der ./private-keys-v1.d/gpg-sample.stamp +pubring-stamp: $(srcdir)/cert_g10code_test1.der ./private-keys-v1.d/gpg-sample.stamp $(GPGSM) --import $(srcdir)/cert_g10code_test1.der touch pubring-stamp -./gpgsm.conf: +gpgsm.conf: echo disable-crl-checks > ./gpgsm.conf echo faked-system-time 1008241200 >> ./gpgsm.conf echo "agent-program `which $(GPG_AGENT)`|--debug-quick-random" >> ./gpgsm.conf -./private-keys-v1.d/gpg-sample.stamp: $(srcdir)/$(key_id) +private-keys-v1.d/gpg-sample.stamp: $(srcdir)/$(key_id) -gpgconf --kill all $(MKDIR_P) ./private-keys-v1.d cp $(srcdir)/$(key_id) private-keys-v1.d/$(key_id).key echo x > ./private-keys-v1.d/gpg-sample.stamp -./trustlist.txt: +trustlist.txt: echo $(key_id) > ./trustlist.txt echo >> ./trustlist.txt echo "# CN=test cert 1,OU=Aegypten Project,O=g10 Code GmbH,L=Düsseldorf,C=DE" >> ./trustlist.txt |