aboutsummaryrefslogtreecommitdiffstats
path: root/tests/Makefile.am
blob: 1d69ad7ef62cfb81e1a69c34a4ffbb44c8ac7c71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
## Process this file with automake to create Makefile.in

TESTS_ENVIRONMENT = GNUPGHOME=. 

TESTS = t-encrypt t-sign t-decrypt t-verify t-keylist t-export t-import

EXTRA_DIST = mkdemodirs pubdemo.asc secdemo.asc cipher-1.asc geheim.txt \
	     pubkey-1.asc seckey-1.asc

INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/intl

INCLUDES = 
LDADD = ../gpgme/libgpgme.la

noinst_PROGRAMS = $(TESTS)

distclean-local:
	$(srcdir)/mkdemodirs --clean

all-local: ./pubring.gpg ./secring.gpg

./pubring.gpg: $(srcdir)/pubdemo.asc
	-gpg --homedir . --import $(srcdir)/pubdemo.asc

./secring.gpg: ./Alpha/Secret.gpg 
	-gpg --homedir . --allow-secret-key-import --import Alpha/Secret.gpg Zulu/Secret.gpg

./Alpha/Secret.gpg: secdemo.asc 
	srcdir=$(srcdir) $(srcdir)/mkdemodirs