diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/handbook/Makefile.am | 7 | ||||
-rw-r--r-- | doc/tutorial/Makefile.am | 15 |
2 files changed, 20 insertions, 2 deletions
diff --git a/doc/handbook/Makefile.am b/doc/handbook/Makefile.am index a50a58937..23e43a34a 100644 --- a/doc/handbook/Makefile.am +++ b/doc/handbook/Makefile.am | |||
@@ -9,6 +9,7 @@ infoimagedir = $(infodir)/images | |||
9 | # $(DOT_FILES:%.dot=%.eps) \ | 9 | # $(DOT_FILES:%.dot=%.eps) \ |
10 | # $(DOT_FILES:%.dot=%.pdf) | 10 | # $(DOT_FILES:%.dot=%.pdf) |
11 | 11 | ||
12 | if ACTIVATE_TEXINFO4 | ||
12 | # NOTE: While GNU makeinfo 6.5 supports --css-ref=URL, | 13 | # NOTE: While GNU makeinfo 6.5 supports --css-ref=URL, |
13 | # makeinfo 4.8 (in NetBSD 8.0, macOS, and maybe other | 14 | # makeinfo 4.8 (in NetBSD 8.0, macOS, and maybe other |
14 | # base) does only support --css-include=FILE. | 15 | # base) does only support --css-include=FILE. |
@@ -17,8 +18,12 @@ infoimagedir = $(infodir)/images | |||
17 | # We prefer not to break builds in this case, so | 18 | # We prefer not to break builds in this case, so |
18 | # we use the include version which is backwards compatible | 19 | # we use the include version which is backwards compatible |
19 | # and upwards compatible, while the ref variant is neither. | 20 | # and upwards compatible, while the ref variant is neither. |
20 | |||
21 | AM_MAKEINFOHTMLFLAGS = --no-split --css-include=style.css --css-include=manual.css | 21 | AM_MAKEINFOHTMLFLAGS = --no-split --css-include=style.css --css-include=manual.css |
22 | else | ||
23 | # In the 5.x version they added `--split=chapters|sections` in | ||
24 | # addition to `--split=nodes`. | ||
25 | AM_MAKEINFOHTMLFLAGS = --split=sections --css-ref=style.css --css-ref=manual.css | ||
26 | endif | ||
22 | 27 | ||
23 | dist_infoimage_DATA = \ | 28 | dist_infoimage_DATA = \ |
24 | images/gnunet-gtk-0-10-gns-a-done.png \ | 29 | images/gnunet-gtk-0-10-gns-a-done.png \ |
diff --git a/doc/tutorial/Makefile.am b/doc/tutorial/Makefile.am index f3908aa99..8525563a2 100644 --- a/doc/tutorial/Makefile.am +++ b/doc/tutorial/Makefile.am | |||
@@ -7,8 +7,21 @@ docdir = $(datadir)/doc/gnunet/ | |||
7 | # $(DOT_FILES:%.dot=%.eps) \ | 7 | # $(DOT_FILES:%.dot=%.eps) \ |
8 | # $(DOT_FILES:%.dot=%.pdf) | 8 | # $(DOT_FILES:%.dot=%.pdf) |
9 | 9 | ||
10 | # See ../handbook/Makefile.am comment! | 10 | if ACTIVATE_TEXINFO4 |
11 | # NOTE: While GNU makeinfo 6.5 supports --css-ref=URL, | ||
12 | # makeinfo 4.8 (in NetBSD 8.0, macOS, and maybe other | ||
13 | # base) does only support --css-include=FILE. | ||
14 | # The only difference is a shorter html output and | ||
15 | # in 6.5 the ability to use refs instead of include. | ||
16 | # We prefer not to break builds in this case, so | ||
17 | # we use the include version which is backwards compatible | ||
18 | # and upwards compatible, while the ref variant is neither. | ||
11 | AM_MAKEINFOHTMLFLAGS = --no-split --css-include=style.css --css-include=manual.css | 19 | AM_MAKEINFOHTMLFLAGS = --no-split --css-include=style.css --css-include=manual.css |
20 | else | ||
21 | # In the 5.x version they added `--split=chapters|sections` in | ||
22 | # addition to `--split=nodes`. | ||
23 | AM_MAKEINFOHTMLFLAGS = --split=sections --css-ref=style.css --css-ref=manual.css | ||
24 | endif | ||
12 | 25 | ||
13 | #DOT_OPTIONS = \ | 26 | #DOT_OPTIONS = \ |
14 | # -Gratio=.9 -Gnodesep=.005 -Granksep=.00005 \ | 27 | # -Gratio=.9 -Gnodesep=.005 -Granksep=.00005 \ |