From 68064fbe8d5e0e13688d41d620bd78babb0b431a Mon Sep 17 00:00:00 2001 From: ng0 Date: Sun, 28 Jul 2019 14:21:45 +0000 Subject: Adding --enable-texinfo4 configure switch. Refer to https://bugs.gnunet.org/view.php?id=3914 and the Changelog for more. --- doc/handbook/Makefile.am | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'doc/handbook') 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 # $(DOT_FILES:%.dot=%.eps) \ # $(DOT_FILES:%.dot=%.pdf) +if ACTIVATE_TEXINFO4 # NOTE: While GNU makeinfo 6.5 supports --css-ref=URL, # makeinfo 4.8 (in NetBSD 8.0, macOS, and maybe other # base) does only support --css-include=FILE. @@ -17,8 +18,12 @@ infoimagedir = $(infodir)/images # We prefer not to break builds in this case, so # we use the include version which is backwards compatible # and upwards compatible, while the ref variant is neither. - AM_MAKEINFOHTMLFLAGS = --no-split --css-include=style.css --css-include=manual.css +else +# In the 5.x version they added `--split=chapters|sections` in +# addition to `--split=nodes`. +AM_MAKEINFOHTMLFLAGS = --split=sections --css-ref=style.css --css-ref=manual.css +endif dist_infoimage_DATA = \ images/gnunet-gtk-0-10-gns-a-done.png \ -- cgit v1.2.3