aboutsummaryrefslogtreecommitdiffstats
path: root/tests/gpg/Makefile.am
diff options
context:
space:
mode:
authorMarcus Brinkmann <[email protected]>2008-01-10 04:33:34 +0000
committerMarcus Brinkmann <[email protected]>2008-01-10 04:33:34 +0000
commit25dccf5897948d28dd2f32f1ccba15edc124dc0b (patch)
treeeaaf0dde42c17df7be288576d6aa9a4f07db5ad8 /tests/gpg/Makefile.am
parent2008-01-10 Marcus Brinkmann <[email protected]> (diff)
downloadgpgme-25dccf5897948d28dd2f32f1ccba15edc124dc0b.tar.gz
gpgme-25dccf5897948d28dd2f32f1ccba15edc124dc0b.zip
2008-01-10 Marcus Brinkmann <[email protected]>
* gpg/pinentry: New file. * gpg/Makefile.am (DISTCLEANFILES, all-local): Add gpg-agent.conf (./gpg-agent.conf): New target. (EXTRA_DIST): Add pinentry.
Diffstat (limited to 'tests/gpg/Makefile.am')
-rw-r--r--tests/gpg/Makefile.am10
1 files changed, 7 insertions, 3 deletions
diff --git a/tests/gpg/Makefile.am b/tests/gpg/Makefile.am
index 3ce6592d..af0fa5f1 100644
--- a/tests/gpg/Makefile.am
+++ b/tests/gpg/Makefile.am
@@ -38,10 +38,10 @@ TESTS = t-encrypt t-encrypt-sym t-encrypt-sign t-sign t-signers \
t-encrypt-large t-file-name t-gpgconf $(tests_unix)
CLEANFILES = secring.gpg pubring.gpg pubring.kbx trustdb.gpg dirmngr.conf
-DISTCLEANFILES = pubring.gpg~ random_seed gpg.conf
+DISTCLEANFILES = pubring.gpg~ random_seed gpg.conf gpg-agent.conf
EXTRA_DIST = mkdemodirs pubdemo.asc secdemo.asc cipher-1.asc cipher-2.asc \
- geheim.txt pubkey-1.asc seckey-1.asc
+ geheim.txt pubkey-1.asc seckey-1.asc pinentry
INCLUDES = -I$(top_srcdir)/gpgme
@@ -55,7 +55,7 @@ noinst_PROGRAMS = $(TESTS) t-genkey
clean-local:
$(srcdir)/mkdemodirs --clean
-all-local: ./pubring.gpg ./gpg.conf
+all-local: ./pubring.gpg ./gpg.conf ./gpg-agent.conf
./pubring.gpg: $(srcdir)/pubdemo.asc ./Alpha/Secret.gpg
$(GPG) --homedir . --import $(srcdir)/pubdemo.asc
@@ -68,3 +68,7 @@ all-local: ./pubring.gpg ./gpg.conf
./gpg.conf:
# This is required for t-sig-notations.
echo no-force-v3-sigs > ./gpg.conf
+
+./gpg-agent.conf:
+# This is required for gpg2, which does not support command fd.
+ echo pinentry-program $(abs_builddir)/pinentry > ./gpg-agent.conf