Add key import and export facility
[gpgme.git] / tests / Makefile.am
1 ## Process this file with automake to create Makefile.in
2
3 TESTS_ENVIRONMENT = GNUPGHOME=. 
4
5 TESTS = t-encrypt t-sign t-decrypt t-verify t-keylist t-export t-import
6
7 EXTRA_DIST = mkdemodirs pubdemo.asc secdemo.asc cipher-1.asc geheim.txt \
8              pubkey-1.asc seckey-1.asc
9
10 INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/intl
11
12 INCLUDES = 
13 LDADD = ../gpgme/libgpgme.la
14
15 noinst_PROGRAMS = $(TESTS)
16
17 distclean-local:
18         $(srcdir)/mkdemodirs --clean
19
20 all-local: ./pubring.gpg ./secring.gpg
21
22 ./pubring.gpg: $(srcdir)/pubdemo.asc
23         -gpg --homedir . --import $(srcdir)/pubdemo.asc
24
25 ./secring.gpg: ./Alpha/Secret.gpg 
26         -gpg --homedir . --allow-secret-key-import --import Alpha/Secret.gpg Zulu/Secret.gpg
27
28 ./Alpha/Secret.gpg: secdemo.asc 
29         srcdir=$(srcdir) $(srcdir)/mkdemodirs 
30
31
32
33
34
35
36