reap off gpg processes
[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         t-trustlist
7
8
9 EXTRA_DIST = mkdemodirs pubdemo.asc secdemo.asc cipher-1.asc geheim.txt \
10              pubkey-1.asc seckey-1.asc
11
12 INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/intl
13
14 INCLUDES = 
15 LDADD = ../gpgme/libgpgme.la
16
17 # We don't run t-genkey in the test suite, because it taes too long
18 noinst_PROGRAMS = $(TESTS) t-genkey
19
20 distclean-local:
21         $(srcdir)/mkdemodirs --clean
22
23 all-local: ./pubring.gpg ./secring.gpg
24
25 ./pubring.gpg: $(srcdir)/pubdemo.asc
26         -gpg --homedir . --import $(srcdir)/pubdemo.asc
27
28 ./secring.gpg: ./Alpha/Secret.gpg 
29         -gpg --homedir . --allow-secret-key-import --import Alpha/Secret.gpg Zulu/Secret.gpg
30
31 ./Alpha/Secret.gpg: secdemo.asc 
32         srcdir=$(srcdir) $(srcdir)/mkdemodirs 
33
34
35
36
37
38
39