diff options
Diffstat (limited to 'doc/man/Makefile.am')
-rw-r--r-- | doc/man/Makefile.am | 23 |
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' | |||
5 | gnunet.conf.5: gnunet.conf.5.in Makefile | 5 | gnunet.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 | ||
8 | if TEXI2MDOC_GENERATION | ||
9 | gnunet-c-tutorial.7: Makefile gnunet-tutorial.7 | ||
10 | @echo generated texi2mdoc output | ||
11 | |||
12 | gnunet-tutorial.7: Makefile | ||
13 | $(SH) $(srcdir)/texi2mdoc-generation.sh | ||
14 | |||
15 | endif | ||
16 | |||
8 | CLEANFILES = gnunet.conf.5 *.html | 17 | CLEANFILES = gnunet.conf.5 *.html |
9 | 18 | ||
19 | if TEXI2MDOC_GENERATION | ||
20 | CLEANFILES += gnunet-documentation.7 gnunet-c-tutorial.7 | ||
21 | endif | ||
22 | |||
10 | html: | 23 | html: |
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 | ||
74 | if TEXI2MDOC_GENERATION | ||
75 | man_MANS += gnunet-c-tutorial.7 gnunet-documentation.7 | ||
76 | endif | ||
77 | |||
61 | EXTRA_DIST = ${man_MANS} \ | 78 | EXTRA_DIST = ${man_MANS} \ |
62 | gnunet.conf.5.in | 79 | gnunet.conf.5.in \ |
80 | texi2mdoc-generation.sh | ||
63 | 81 | ||
64 | if TEXI2MDOC_GENERATION | 82 | if TEXI2MDOC_GENERATION |
65 | EXTRA_DIST += gnunet-documentation.7 \ | 83 | EXTRA_DIST += gnunet-documentation.7 gnunet-c-tutorial.7 |
66 | gnunet-c-tutorial.7 | ||
67 | endif | 84 | endif |