summaryrefslogtreecommitdiff
path: root/doc/Makefile.am
blob: 5f8c2b6d05a5336f997d55b993f243f9f34a8030 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# This Makefile.am is in the public domain

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.
# 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=style.css --css-include=manual.css
else
# In the 5.x version they added `--split=chapters|sections` in
# addition to `--split=nodes`.
# Hold on to your hats: In version 6.5 this is already removed, ffs.
# GNU Texinfo, please be more consistent than 1 version in switches.
# This however is compatible to version 5.2. Thanks, I hate it.
# AM_MAKEINFOHTMLFLAGS = --split=sections --css-ref="../style.css" --css-ref="../manual.css"
AM_MAKEINFOHTMLFLAGS = --split --css-ref="../style.css" --css-ref="../manual.css"
endif


if DOCUMENTATION
  SUBDIRS = doxygen handbook tutorial
endif

if !DOCUMENTATION
  SUBDIRS = doxygen
endif

if INCLUDE_MANPAGES
  SUBDIRS += man
endif

EXTRA_DIST =							\
	system_specific/outdated-and-old-installation-instructions.txt \
	system_specific/FROM_SOURCE