diff options
Diffstat (limited to 'doc/Makefile.am')
-rw-r--r-- | doc/Makefile.am | 50 |
1 files changed, 24 insertions, 26 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am index 84e7e5fbd..b45362d38 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am | |||
@@ -1,39 +1,37 @@ | |||
1 | # This Makefile.am is in the public domain | 1 | # This Makefile.am is in the public domain |
2 | 2 | ||
3 | SUBDIRS = . | ||
3 | 4 | ||
4 | if DOCUMENTATION | 5 | if HAVE_DOXY_BINARY |
5 | SUBDIRS = doxygen | 6 | SUBDIRS += doxygen |
7 | endif | ||
8 | |||
9 | # OpenBSD is a bit iffy wrt sphinx make info | ||
10 | if OPENBSD | ||
6 | all-local: | 11 | all-local: |
7 | cd sphinx && make html | 12 | cd handbook/texinfo && make || touch gnunet.info |
13 | GNUNET_TEXI = | ||
14 | else | ||
15 | GNUNET_TEXI = handbook/texinfo/gnunet.texi | ||
16 | endif | ||
8 | 17 | ||
9 | install-data-hook: | 18 | install-data-hook: |
10 | mkdir -p $(DESTDIR)$(docdir) | 19 | mkdir -p $(DESTDIR)$(docdir) |
11 | cp -pr sphinx/_build/html $(DESTDIR)$(docdir) | 20 | cp -pr handbook/html $(DESTDIR)$(docdir) |
12 | 21 | mkdir -p $(DESTDIR)$(infodir) | |
13 | _build/man/gnunet.1: Makefile | 22 | cp -pr handbook/texinfo/gnunet.info $(DESTDIR)$(infodir) |
14 | cd sphinx && make man | ||
15 | 23 | ||
16 | if INCLUDE_MANPAGES | 24 | if INCLUDE_MANPAGES |
17 | man_MANS = sphinx/_build/man/gnunet.1 | 25 | SUBDIRS += man |
18 | SUBDIRS += man | ||
19 | endif | ||
20 | endif | 26 | endif |
21 | 27 | ||
22 | EXTRA_DIST = \ | 28 | AM_MAKEINFOFLAGS = --no-headers --no-split |
23 | system_specific/outdated-and-old-installation-instructions.txt \ | ||
24 | system_specific/FROM_SOURCE \ | ||
25 | sphinx/about.rst \ | ||
26 | sphinx/conf.py \ | ||
27 | sphinx/faq.rst \ | ||
28 | sphinx/gana.rst \ | ||
29 | sphinx/guis \ | ||
30 | sphinx/index.rst \ | ||
31 | sphinx/installing.rst \ | ||
32 | sphinx/livingstandards.rst \ | ||
33 | sphinx/make.bat \ | ||
34 | sphinx/man_developers \ | ||
35 | sphinx/man_users \ | ||
36 | sphinx/preface.rst \ | ||
37 | sphinx/_static | ||
38 | 29 | ||
30 | info_TEXINFOS = \ | ||
31 | $(GNUNET_TEXI) | ||
39 | 32 | ||
33 | EXTRA_DIST = \ | ||
34 | handbook/texinfo \ | ||
35 | system_specific/outdated-and-old-installation-instructions.txt \ | ||
36 | system_specific/FROM_SOURCE \ | ||
37 | handbook/html | ||