aboutsummaryrefslogtreecommitdiff
path: root/doc/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'doc/Makefile.am')
-rw-r--r--doc/Makefile.am22
1 files changed, 22 insertions, 0 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am
index eb23b534b..5f8c2b6d0 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -1,4 +1,26 @@
1# This Makefile.am is in the public domain 1# This Makefile.am is in the public domain
2
3if ACTIVATE_TEXINFO4
4# NOTE: While GNU makeinfo 6.5 supports --css-ref=URL,
5# makeinfo 4.8 (in NetBSD 8.0, macOS, and maybe other
6# base) does only support --css-include=FILE.
7# The only difference is a shorter html output and
8# in 6.5 the ability to use refs instead of include.
9# We prefer not to break builds in this case, so
10# we use the include version which is backwards compatible
11# and upwards compatible, while the ref variant is neither.
12AM_MAKEINFOHTMLFLAGS = --no-split --css-include=style.css --css-include=manual.css
13else
14# In the 5.x version they added `--split=chapters|sections` in
15# addition to `--split=nodes`.
16# Hold on to your hats: In version 6.5 this is already removed, ffs.
17# GNU Texinfo, please be more consistent than 1 version in switches.
18# This however is compatible to version 5.2. Thanks, I hate it.
19# AM_MAKEINFOHTMLFLAGS = --split=sections --css-ref="../style.css" --css-ref="../manual.css"
20AM_MAKEINFOHTMLFLAGS = --split --css-ref="../style.css" --css-ref="../manual.css"
21endif
22
23
2if DOCUMENTATION 24if DOCUMENTATION
3 SUBDIRS = doxygen handbook tutorial 25 SUBDIRS = doxygen handbook tutorial
4endif 26endif