aboutsummaryrefslogtreecommitdiff
path: root/doc/man/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/Makefile.am')
-rw-r--r--doc/man/Makefile.am23
1 files changed, 20 insertions, 3 deletions
diff --git a/doc/man/Makefile.am b/doc/man/Makefile.am
index a88d5af0a..e739be78b 100644
--- a/doc/man/Makefile.am
+++ b/doc/man/Makefile.am
@@ -5,8 +5,21 @@ do_subst = $(SED) -e 's,[@]SYSCONFDIR[@],$(sysconfdir),g'
5gnunet.conf.5: gnunet.conf.5.in Makefile 5gnunet.conf.5: gnunet.conf.5.in Makefile
6 $(do_subst) < $(srcdir)/gnunet.conf.5.in > gnunet.conf.5 6 $(do_subst) < $(srcdir)/gnunet.conf.5.in > gnunet.conf.5
7 7
8if TEXI2MDOC_GENERATION
9gnunet-c-tutorial.7: Makefile gnunet-tutorial.7
10 @echo generated texi2mdoc output
11
12gnunet-tutorial.7: Makefile
13 $(SH) $(srcdir)/texi2mdoc-generation.sh
14
15endif
16
8CLEANFILES = gnunet.conf.5 *.html 17CLEANFILES = gnunet.conf.5 *.html
9 18
19if TEXI2MDOC_GENERATION
20CLEANFILES += gnunet-documentation.7 gnunet-c-tutorial.7
21endif
22
10html: 23html:
11 $(SH) $(srcdir)/produce_html.sh 24 $(SH) $(srcdir)/produce_html.sh
12 25
@@ -58,10 +71,14 @@ man_MANS = \
58 gnunet-vpn.1 \ 71 gnunet-vpn.1 \
59 gnunet-zoneimport.1 72 gnunet-zoneimport.1
60 73
74if TEXI2MDOC_GENERATION
75man_MANS += gnunet-c-tutorial.7 gnunet-documentation.7
76endif
77
61EXTRA_DIST = ${man_MANS} \ 78EXTRA_DIST = ${man_MANS} \
62 gnunet.conf.5.in 79 gnunet.conf.5.in \
80 texi2mdoc-generation.sh
63 81
64if TEXI2MDOC_GENERATION 82if TEXI2MDOC_GENERATION
65EXTRA_DIST += gnunet-documentation.7 \ 83EXTRA_DIST += gnunet-documentation.7 gnunet-c-tutorial.7
66 gnunet-c-tutorial.7
67endif 84endif