diff options
author | Martin Schanzenbach <schanzen@gnunet.org> | 2022-09-25 21:35:32 +0900 |
---|---|---|
committer | Martin Schanzenbach <schanzen@gnunet.org> | 2022-09-25 21:35:32 +0900 |
commit | 82a7bd8af34060d352348241e139dbcd775311f5 (patch) | |
tree | 08faa268f64ed3b186fb8ab691f97f8b8729eeac /doc | |
parent | 622cfef5af42da1c283bc9c0a0423e18e20d5c53 (diff) | |
download | gnunet-82a7bd8af34060d352348241e139dbcd775311f5.tar.gz gnunet-82a7bd8af34060d352348241e139dbcd775311f5.zip |
DOC: Conditionally build doxygen; build sphinx on bootstrap
Diffstat (limited to 'doc')
-rw-r--r-- | doc/Makefile.am | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am index 4194447fc..cfcb55453 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am | |||
@@ -2,14 +2,16 @@ | |||
2 | 2 | ||
3 | SUBDIRS = . | 3 | SUBDIRS = . |
4 | 4 | ||
5 | if DOCUMENTATION | 5 | if HAVE_DOXY_BINARY |
6 | SUBDIRS += doxygen | 6 | SUBDIRS += doxygen |
7 | all-local: | 7 | endif |
8 | cd sphinx && make html | 8 | |
9 | sphinx: Makefile | ||
10 | cd sphinx && make html man info | ||
11 | |||
9 | install-data-hook: | 12 | install-data-hook: |
10 | mkdir -p $(DESTDIR)$(docdir) | 13 | mkdir -p $(DESTDIR)$(docdir) |
11 | cp -pr sphinx/_build/html $(DESTDIR)$(docdir) | 14 | cp -pr sphinx/_build/html $(DESTDIR)$(docdir) |
12 | endif | ||
13 | 15 | ||
14 | if INCLUDE_MANPAGES | 16 | if INCLUDE_MANPAGES |
15 | man_MANS = sphinx/_build/man/gnunet.1 | 17 | man_MANS = sphinx/_build/man/gnunet.1 |
@@ -20,8 +22,8 @@ info_TEXINFOS = \ | |||
20 | sphinx/_build/texinfo/gnunet.texi | 22 | sphinx/_build/texinfo/gnunet.texi |
21 | 23 | ||
22 | EXTRA_DIST = \ | 24 | EXTRA_DIST = \ |
23 | $(man_MANS) \ | 25 | $(man_MANS) \ |
24 | $(info_TEXINFOS) \ | 26 | $(info_TEXINFOS) \ |
25 | system_specific/outdated-and-old-installation-instructions.txt \ | 27 | system_specific/outdated-and-old-installation-instructions.txt \ |
26 | system_specific/FROM_SOURCE \ | 28 | system_specific/FROM_SOURCE \ |
27 | sphinx/about.rst \ | 29 | sphinx/about.rst \ |