diff options
Diffstat (limited to 'doc/man')
-rw-r--r-- | doc/man/Makefile.am | 17 | ||||
-rwxr-xr-x | doc/man/texi2mdoc-generation.sh | 15 |
2 files changed, 7 insertions, 25 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' | |||
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 || true | ||
11 | |||
12 | gnunet-tutorial.7: Makefile | ||
13 | $(SH) $(srcdir)/texi2mdoc-generation.sh || true | ||
14 | |||
15 | endif | ||
16 | |||
17 | CLEANFILES = gnunet.conf.5 *.html | 8 | CLEANFILES = gnunet.conf.5 *.html |
18 | 9 | ||
19 | if TEXI2MDOC_GENERATION | 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 | |||
20 | CLEANFILES += gnunet-documentation.7 gnunet-c-tutorial.7 | 17 | CLEANFILES += gnunet-documentation.7 gnunet-c-tutorial.7 |
21 | endif | 18 | endif |
22 | 19 | ||
20 | |||
23 | html: | 21 | html: |
24 | $(SH) $(srcdir)/produce_html.sh | 22 | $(SH) $(srcdir)/produce_html.sh |
25 | 23 | ||
@@ -77,5 +75,4 @@ endif | |||
77 | 75 | ||
78 | EXTRA_DIST = ${man_MANS} \ | 76 | EXTRA_DIST = ${man_MANS} \ |
79 | gnunet.conf.5.in \ | 77 | gnunet.conf.5.in \ |
80 | texi2mdoc-generation.sh \ | ||
81 | README | 78 | README |
diff --git a/doc/man/texi2mdoc-generation.sh b/doc/man/texi2mdoc-generation.sh deleted file mode 100755 index b88987cda..000000000 --- a/doc/man/texi2mdoc-generation.sh +++ /dev/null | |||
@@ -1,15 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | # This script is in the public-domain. | ||
3 | # GNUnet e.V. 2019 | ||
4 | # | ||
5 | # Commentary: generate texi2mdoc output. This would be easier with | ||
6 | # bmake / BSDmake, oh well. | ||
7 | # | ||
8 | # Excercise for future readers: don't fix this. | ||
9 | |||
10 | # echo $(pwd) | ||
11 | cd ../tutorial | ||
12 | texi2mdoc -I$(pwd):$(pwd)/chapters gnunet-tutorial.texi > ../man/gnunet-c-tutorial.7 | ||
13 | # echo $(pwd) | ||
14 | cd ../handbook | ||
15 | texi2mdoc -I$(pwd):$(pwd)/chapters gnunet.texi > ../man/gnunet-documentation.7 | ||