diff --git a/tests/gpg/Makefile.am b/tests/gpg/Makefile.am index 642e0a08..a2d24118 100644 --- a/tests/gpg/Makefile.am +++ b/tests/gpg/Makefile.am @@ -96,7 +96,7 @@ private-keys-v1.d/gpg-sample.stamp: $(srcdir)/$(private_keys) 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 \ diff --git a/tests/gpgsm/Makefile.am b/tests/gpgsm/Makefile.am index 4ab22833..9d47e2ae 100644 --- a/tests/gpgsm/Makefile.am +++ b/tests/gpgsm/Makefile.am @@ -59,7 +59,7 @@ 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