Just a Backup. We can now write out a basic signature which in turn
[gnupg.git] / checks / Makefile.am
1 ## Process this file with automake to create Makefile.in
2
3 GPG_DEARMOR = ../g10/gpg --no-options --quiet --yes --dearmor
4
5 TESTS = version.test mds.test \
6         decrypt.test decrypt-dsa.test \
7         sigs.test sigs-dsa.test \
8         encrypt.test encrypt-dsa.test  \
9         seat.test clearsig.test encryptp.test detach.test \
10         armsigs.test armencrypt.test armencryptp.test \
11         signencrypt.test signencrypt-dsa.test \
12         armsignencrypt.test armdetach.test \
13         armdetachm.test detachm.test genkey1024.test \
14         conventional.test
15
16
17 TEST_FILES = pubring.asc secring.asc plain-1o.asc plain-2o.asc plain-3o.asc \
18              plain-1.asc plain-2.asc plain-3.asc plain-1-pgp.asc \
19              pubring.pkr.asc secring.skr.asc secdemo.asc pubdemo.asc
20
21 DATA_FILES = data-500 data-9000 data-32000 data-80000 plain-large
22
23 EXTRA_DIST = defs.inc run-gpg run-gpg.patterns $(TESTS) $(TEST_FILES) \
24              mkdemodirs signdemokey
25 CLEANFILES = prepared.stamp x y yy z out err  $(DATA_FILES) \
26              plain-1 plain-2 plain-3 options trustdb.gpg *.lock .\#lk* \
27              pubring.gpg secring.gpg pubring.pkr secring.skr
28 DISTCLEANFILES = pubring.gpg~
29
30
31 all-local: prepared.stamp
32
33 distclean-local:
34         ./mkdemodirs --clean
35
36 prepared.stamp: ./pubring.gpg ./secring.gpg ./plain-1 ./plain-2 ./plain-3 \
37                 ./pubring.pkr ./secring.skr $(DATA_FILES)
38          echo timestamp >./prepared.stamp
39
40
41 ./pubring.gpg: $(srcdir)/pubring.asc
42          $(GPG_DEARMOR) -o ./pubring.gpg $(srcdir)/pubring.asc
43
44 ./secring.gpg: $(srcdir)/secring.asc
45          $(GPG_DEARMOR) -o ./secring.gpg $(srcdir)/secring.asc
46
47 ./pubring.pkr: $(srcdir)/pubring.pkr.asc
48          $(GPG_DEARMOR) -o ./pubring.pkr $(srcdir)/pubring.pkr.asc
49
50 ./secring.skr: $(srcdir)/secring.skr.asc
51          $(GPG_DEARMOR) -o ./secring.skr $(srcdir)/secring.skr.asc
52
53 ./plain-1: $(srcdir)/plain-1o.asc
54          $(GPG_DEARMOR) -o ./plain-1 $(srcdir)/plain-1o.asc
55
56 ./plain-2: $(srcdir)/plain-2o.asc
57          $(GPG_DEARMOR) -o ./plain-2 $(srcdir)/plain-2o.asc
58
59 ./plain-3: $(srcdir)/plain-3o.asc
60          $(GPG_DEARMOR) -o ./plain-3 $(srcdir)/plain-3o.asc
61
62
63
64 data-500:
65         ../tools/mk-tdata   500  >data-500
66 data-9000:
67         ../tools/mk-tdata  9000  >data-9000
68 data-32000:
69         ../tools/mk-tdata 32000  >data-32000
70 data-80000:
71         ../tools/mk-tdata 80000  >data-80000
72 plain-large:
73         cat $(srcdir)/../doc/HACKING \
74             $(srcdir)/../doc/DETAILS \
75             $(srcdir)/../doc/FAQ         >plain-large
76