aboutsummaryrefslogtreecommitdiffstats
path: root/tests/gpgsm
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2018-02-14 08:34:28 +0000
committerNIIBE Yutaka <[email protected]>2018-02-14 08:34:28 +0000
commitf1d8a7975b0a166f55aef06eb25d50230781b96f (patch)
tree8d6e828c0959260d618ab717ae042d9f71d5f6bb /tests/gpgsm
parentconfigure: Fix mingw check for getenv. (diff)
downloadgpgme-f1d8a7975b0a166f55aef06eb25d50230781b96f.tar.gz
gpgme-f1d8a7975b0a166f55aef06eb25d50230781b96f.zip
build: Fix Makefiles for portability.
* tests/gpg/Makefile.am: Don't allow target with '/'. * tests/gpgsm/Makefile.am: Ditto. -- BSD Make doesn't allow a target with '/'. We still have such a target in lang/python/Makefile.am, but it's for maintainer only, so, assumption to GNU Make is OK there. Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'tests/gpgsm')
-rw-r--r--tests/gpgsm/Makefile.am10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/gpgsm/Makefile.am b/tests/gpgsm/Makefile.am
index 9d47e2ae..3b8eb725 100644
--- a/tests/gpgsm/Makefile.am
+++ b/tests/gpgsm/Makefile.am
@@ -46,7 +46,7 @@ noinst_PROGRAMS = $(c_tests) t-genkey cms-keylist cms-decrypt
key_id = 32100C27173EF6E9C4E9A25D3D69F86D37A4F939
CLEANFILES = pubring-stamp pubring.kbx pubring.kbx~ gpgsm.conf trustlist.txt \
- random_seed S.gpg-agent
+ random_seed S.gpg-agent gpg-sample.stamp
clean-local:
-$(top_srcdir)/tests/start-stop-agent --stop
@@ -57,9 +57,9 @@ export GNUPGHOME := $(abs_builddir)
export GPG_AGENT_INFO :=
BUILT_SOURCES = gpgsm.conf trustlist.txt pubring-stamp \
- private-keys-v1.d/gpg-sample.stamp
+ gpg-sample.stamp
-pubring-stamp: $(srcdir)/cert_g10code_test1.der private-keys-v1.d/gpg-sample.stamp
+pubring-stamp: $(srcdir)/cert_g10code_test1.der gpg-sample.stamp
$(GPGSM) --import $(srcdir)/cert_g10code_test1.der
touch pubring-stamp
@@ -68,11 +68,11 @@ 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)
+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
+ echo x > ./gpg-sample.stamp
trustlist.txt:
echo $(key_id) > ./trustlist.txt