From c802d0a81e6c415e4c99b562b03d47a1beb5a617 Mon Sep 17 00:00:00 2001 From: ng0 Date: Sat, 23 Feb 2019 22:54:16 +0000 Subject: doc/handbook: Fix #5604 --- doc/handbook/Makefile.am | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'doc/handbook') diff --git a/doc/handbook/Makefile.am b/doc/handbook/Makefile.am index 120f63297..9a3a76a2f 100644 --- a/doc/handbook/Makefile.am +++ b/doc/handbook/Makefile.am @@ -9,7 +9,16 @@ infoimagedir = $(infodir)/images # $(DOT_FILES:%.dot=%.eps) \ # $(DOT_FILES:%.dot=%.pdf) -AM_MAKEINFOHTMLFLAGS = --no-split --css-ref=manual.css +# 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. +# The only difference is a shorter html output and +# in 6.5 the ability to use refs instead of include. +# 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=manual.css dist_infoimage_DATA = \ images/gnunet-gtk-0-10-gns-a-done.png \ -- cgit v1.2.3