From aa35506e07a6f4346da2f96a950671808e6dee42 Mon Sep 17 00:00:00 2001 From: ng0 Date: Tue, 16 Apr 2019 20:56:57 +0000 Subject: doc: Fix up manual.texi for older texinfo versions. --- doc/Makefile.am | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'doc/Makefile.am') diff --git a/doc/Makefile.am b/doc/Makefile.am index d0140d5b..f135953e 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -16,7 +16,16 @@ merchant-api-python.pdf: merchant-api.content.texi arch-api.pdf merchant-api-curl.html: merchant-api.content.texi arch-api.png merchant-api-python.html: merchant-api.content.texi arch-api.png -AM_MAKEINFOHTMLFLAGS = --no-split --css-ref=docstyle.css --css-ref=brown-paper.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=docstyle.css --css-include=brown-paper.css man_MANS = \ taler-merchant-benchmark.1 \ -- cgit v1.2.3