1 # This Makefile.am is in the public domain
2 docdir = $(datadir)/doc/gnunet/
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
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"
24 gnunet_tutorial_examples = \
50 examples/025.Makefile.am \
52 examples/testbed_test.c
57 gnunet_tutorial_TEXINFOS = \
64 $(gnunet_tutorial_TEXINFOS) \
65 $(gnunet_tutorial_examples) \
88 @mkdir -p $(DESTDIR)/$(docdir)
89 @mkdir -p $(DESTDIR)/$(infoimagedir)
90 @mkdir -p $(DESTDIR)/$(infodir)
91 @install -m 0755 gnunet-tutorial.pdf $(DESTDIR)/$(docdir)
92 @install -m 0755 gnunet-tutorial.info $(DESTDIR)/$(infodir)
93 @install gnunet-tutorial.html $(DESTDIR)/$(docdir)
96 @mkdir -p $(DESTDIR)/$(docdir)
97 @cp -r manual $(DESTDIR)/$(docdir)