aboutsummaryrefslogtreecommitdiff
path: root/doc/man/Makefile.am
diff options
context:
space:
mode:
authorng0 <ng0@n0.is>2019-10-27 14:27:10 +0000
committerng0 <ng0@n0.is>2019-10-27 14:27:10 +0000
commit83eb77dafd5054bee67dc9cc05dca8dc23ecd7f0 (patch)
treed7aca6de199a2345597243525f8b9491b005416e /doc/man/Makefile.am
parent097f287acb1f2372607d1adbf475a040ca219edd (diff)
downloadgnunet-83eb77dafd5054bee67dc9cc05dca8dc23ecd7f0.tar.gz
gnunet-83eb77dafd5054bee67dc9cc05dca8dc23ecd7f0.zip
doc/man: create better rules for texi2mdoc.
Diffstat (limited to 'doc/man/Makefile.am')
-rw-r--r--doc/man/Makefile.am17
1 files changed, 7 insertions, 10 deletions
diff --git a/doc/man/Makefile.am b/doc/man/Makefile.am
index 53d0d663b..a4c81dd43 100644
--- a/doc/man/Makefile.am
+++ b/doc/man/Makefile.am
@@ -5,21 +5,19 @@ 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 || true
11
12gnunet-tutorial.7: Makefile
13 $(SH) $(srcdir)/texi2mdoc-generation.sh || true
14
15endif
16
17CLEANFILES = gnunet.conf.5 *.html 8CLEANFILES = gnunet.conf.5 *.html
18 9
19if TEXI2MDOC_GENERATION 10if TEXI2MDOC_GENERATION
11gnunet-c-tutorial.7: Makefile
12 @texi2mdoc -I../tutorial:../tutorial/chapters ../tutorial/gnunet-tutorial.texi > gnunet-c-tutorial.7
13
14gnunet-documentation.7: Makefile
15 @texi2mdoc -I../handbook:../handbook/chapters ../handbook/gnunet.texi > gnunet-documentation.7
16
20CLEANFILES += gnunet-documentation.7 gnunet-c-tutorial.7 17CLEANFILES += gnunet-documentation.7 gnunet-c-tutorial.7
21endif 18endif
22 19
20
23html: 21html:
24 $(SH) $(srcdir)/produce_html.sh 22 $(SH) $(srcdir)/produce_html.sh
25 23
@@ -77,5 +75,4 @@ endif
77 75
78EXTRA_DIST = ${man_MANS} \ 76EXTRA_DIST = ${man_MANS} \
79 gnunet.conf.5.in \ 77 gnunet.conf.5.in \
80 texi2mdoc-generation.sh \
81 README 78 README