blob: 20eebaf302d4e7ffae88e53869694ee920f779da (
plain) (
blame)
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
|
# This Makefile.am is in the public domain
# A note on sphinx:
# gnunet-handbook does not have a Makefile.am.
# It only supports building the documentation (and cleanup).
# So, the only targets used are "make (all)" and "make clean".
# Actuall installation of manpages/docs is done below
SUBDIRS = sphinx .
if HAVE_DOXY_BINARY
SUBDIRS += doxygen
endif
install-data-hook: sphinx
mkdir -p $(DESTDIR)$(docdir)
cp -pr sphinx/_build/html $(DESTDIR)$(docdir)
mkdir -p $(DESTDIR)$(infodir)
cp -pr sphinx/_build/texinfo/gnunet.info $(DESTDIR)$(infodir)
if INCLUDE_MANPAGES
man_MANS = \
sphinx/_build/man/gnunet.1 \
sphinx/_build/man/gnunet.2 \
sphinx/_build/man/gnunet.3 \
sphinx/_build/man/gnunet.4 \
sphinx/_build/man/gnunet.5 \
sphinx/_build/man/gnunet.6 \
sphinx/_build/man/gnunet.7 \
sphinx/_build/man/gnunet.8 \
sphinx/_build/man/gnunet.9 \
sphinx/_build/man/gana.1 \
sphinx/_build/man/gana.2 \
sphinx/_build/man/gana.3 \
sphinx/_build/man/gana.4 \
sphinx/_build/man/gana.5 \
sphinx/_build/man/gnunet-dev.1 \
sphinx/_build/man/gnunet-dev.2 \
sphinx/_build/man/gnunet-dev.3 \
sphinx/_build/man/gnunet-dev.4 \
sphinx/_build/man/gnunet-dev.5 \
sphinx/_build/man/gnunet-dev.6 \
sphinx/_build/man/lsd.1
SUBDIRS += man
endif
# NOTE: We cannot make this conditional because automake
# This means that if documentation is built, you MUST also build texinfos
# and need makeinfo.
# And yes, sphinx already compiled texi->info at this point and this will
# re-create it.
# So, we now manually copy it above in the install-data-hook
#info_TEXINFOS = \
# sphinx/_build/texinfo/gnunet.texi
EXTRA_DIST = \
$(man_MANS) \
sphinx/_build/texinfo/gnunet.info \
system_specific/outdated-and-old-installation-instructions.txt \
system_specific/FROM_SOURCE \
sphinx/_build/html \
sphinx/about.rst \
sphinx/conf.py \
sphinx/faq.rst \
sphinx/gana \
sphinx/guis \
sphinx/index.rst \
sphinx/installing.rst \
sphinx/livingstandards.rst \
sphinx/make.bat \
sphinx/developers \
sphinx/users \
sphinx/preface.rst \
sphinx/_static \
sphinx/Makefile
|