diff options
author | Martin Schanzenbach <mschanzenbach@posteo.de> | 2021-02-28 15:26:11 +0100 |
---|---|---|
committer | Martin Schanzenbach <mschanzenbach@posteo.de> | 2021-02-28 15:26:11 +0100 |
commit | c666bf95d0ba0a6eddcf0e6953b05ef375f6a75e (patch) | |
tree | cbfd1f50c55446f24f06ad1979b6b04b59689bff /doc/tutorial/Makefile.am | |
parent | a7ef5946befb435e6d06dffcc1c1256f8f8e1c78 (diff) | |
download | gnunet-c666bf95d0ba0a6eddcf0e6953b05ef375f6a75e.tar.gz gnunet-c666bf95d0ba0a6eddcf0e6953b05ef375f6a75e.zip |
-another try. properly handle autoconf vs configure for HTMLFLAGS
Diffstat (limited to 'doc/tutorial/Makefile.am')
-rw-r--r-- | doc/tutorial/Makefile.am | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/doc/tutorial/Makefile.am b/doc/tutorial/Makefile.am index 4df169872..afe4aa6c0 100644 --- a/doc/tutorial/Makefile.am +++ b/doc/tutorial/Makefile.am | |||
@@ -1,25 +1,7 @@ | |||
1 | # This Makefile.am is in the public domain | 1 | # This Makefile.am is in the public domain |
2 | docdir = $(datadir)/doc/gnunet/ | 2 | docdir = $(datadir)/doc/gnunet/ |
3 | 3 | ||
4 | if ACTIVATE_TEXINFO4 | 4 | AM_MAKEINFOHTMLFLAGS = $(TEXINFO_HTMLFLAGS) |
5 | # NOTE: While GNU makeinfo 6.5 supports --css-ref=URL, | ||
6 | # makeinfo 4.8 (in NetBSD 8.0, macOS, and maybe other | ||
7 | # base) does only support --css-include=FILE. | ||
8 | # The only difference is a shorter html output and | ||
9 | # in 6.5 the ability to use refs instead of include. | ||
10 | # We prefer not to break builds in this case, so | ||
11 | # we use the include version which is backwards compatible | ||
12 | # and upwards compatible, while the ref variant is neither. | ||
13 | AM_MAKEINFOHTMLFLAGS = --no-split --css-include=style.css --css-include=manual.css | ||
14 | else | ||
15 | # In the 5.x version they added `--split=chapters|sections` in | ||
16 | # addition to `--split=nodes`. | ||
17 | # Hold on to your hats: In version 6.5 this is already removed, ffs. | ||
18 | # GNU Texinfo, please be more consistent than 1 version in switches. | ||
19 | # This however is compatible to version 5.2. Thanks, I hate it. | ||
20 | # AM_MAKEINFOHTMLFLAGS = --split=sections --css-ref="../style.css" --css-ref="../manual.css" | ||
21 | AM_MAKEINFOHTMLFLAGS = --split --css-ref="../style.css" --css-ref="../manual.css" | ||
22 | endif | ||
23 | 5 | ||
24 | 6 | ||
25 | gnunet_tutorial_examples = \ | 7 | gnunet_tutorial_examples = \ |