blob: d6bc66f3f8951aaed8cdc63e116628b7b80b1b92 (
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
|
# This Makefile.am is in the public domain
SUBDIRS = .
if HAVE_DOXY_BINARY
SUBDIRS += doxygen
endif
sphinx/_build/texinfo/gnunet.info:
cd sphinx && make info
sphinx/_build/html:
cd sphinx && make html
sphinx: sphinx/_build/texinfo/gnunet.info sphinx/_build/html
cd sphinx && make html info
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)
clean-local:
cd sphinx && make clean
sphinx/_build/man/gnunet.1:
cd sphinx && make man
if INCLUDE_MANPAGES
man_MANS = sphinx/_build/man/gnunet.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
|