a4c81dd43de768b2e29bbac370eca14f0b29b2e0
[oweals/gnunet.git] / doc / man / Makefile.am
1 # This Makefile.am is in the public domain
2
3 do_subst = $(SED) -e 's,[@]SYSCONFDIR[@],$(sysconfdir),g'
4
5 gnunet.conf.5: gnunet.conf.5.in Makefile
6         $(do_subst) < $(srcdir)/gnunet.conf.5.in > gnunet.conf.5
7
8 CLEANFILES = gnunet.conf.5 *.html
9
10 if TEXI2MDOC_GENERATION
11 gnunet-c-tutorial.7: Makefile
12         @texi2mdoc -I../tutorial:../tutorial/chapters ../tutorial/gnunet-tutorial.texi > gnunet-c-tutorial.7
13
14 gnunet-documentation.7: Makefile
15         @texi2mdoc -I../handbook:../handbook/chapters ../handbook/gnunet.texi > gnunet-documentation.7
16
17 CLEANFILES += gnunet-documentation.7 gnunet-c-tutorial.7
18 endif
19
20
21 html:
22         $(SH) $(srcdir)/produce_html.sh
23
24 man_MANS = \
25   gnunet.conf.5 \
26   gnunet-arm.1 \
27   gnunet-ats.1 \
28   gnunet-auto-share.1 \
29   gnunet-bcd.1 \
30   gnunet-config.1 \
31   gnunet-core.1 \
32   gnunet-conversation.1 \
33   gnunet-conversation-test.1 \
34   gnunet-directory.1 \
35   gnunet-dns2gns.1 \
36   gnunet-datastore.1 \
37   gnunet-download.1 \
38   gnunet-ecc.1 \
39   gnunet-fs.1 \
40   gnunet-gns.1 \
41   gnunet-gns-proxy.1 \
42   gnunet-gns-proxy-setup-ca.1 \
43   gnunet-identity.1 \
44   gnunet-cadet.1 \
45   gnunet-namecache.1 \
46   gnunet-namestore.1 \
47   gnunet-namestore-fcfsd.1 \
48   gnunet-nat.1 \
49   gnunet-nat-auto.1 \
50   gnunet-nat-server.1 \
51   gnunet-nse.1 \
52   gnunet-peerinfo.1 \
53   gnunet-publish.1 \
54   gnunet-qr.1 \
55   gnunet-reclaim.1 \
56   gnunet-resolver.1 \
57   gnunet-revocation.1 \
58   gnunet-scalarproduct.1 \
59   gnunet-scrypt.1 \
60   gnunet-search.1 \
61   gnunet-statistics.1 \
62   gnunet-testbed-profiler.1 \
63   gnunet-testing-run-service.1 \
64   gnunet-timeout.1 \
65   gnunet-transport.1 \
66   gnunet-transport-certificate-creation.1 \
67   gnunet-unindex.1 \
68   gnunet-uri.1 \
69   gnunet-vpn.1 \
70   gnunet-zoneimport.1
71
72 if TEXI2MDOC_GENERATION
73 man_MANS += gnunet-c-tutorial.7 gnunet-documentation.7
74 endif
75
76 EXTRA_DIST = ${man_MANS} \
77  gnunet.conf.5.in \
78  README