diff options
author | Martin Schanzenbach <schanzen@gnunet.org> | 2022-10-01 17:13:09 +0900 |
---|---|---|
committer | Martin Schanzenbach <schanzen@gnunet.org> | 2022-10-01 17:13:09 +0900 |
commit | 68dbb331f7e49e5ab8809e1ccf4daaacabd79013 (patch) | |
tree | 4cf679d518a2084c28873c136b65bbffb88aeff1 | |
parent | 9e16e9f3a025399915ce222bd8fe1ddf391e87ba (diff) | |
download | gnunet-68dbb331f7e49e5ab8809e1ccf4daaacabd79013.tar.gz gnunet-68dbb331f7e49e5ab8809e1ccf4daaacabd79013.zip |
- fix
-rw-r--r-- | doc/Makefile.am | 28 |
1 files changed, 7 insertions, 21 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am index 63af26bbd..20eebaf30 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am | |||
@@ -1,37 +1,23 @@ | |||
1 | # This Makefile.am is in the public domain | 1 | # This Makefile.am is in the public domain |
2 | 2 | ||
3 | SUBDIRS = . | 3 | # A note on sphinx: |
4 | # gnunet-handbook does not have a Makefile.am. | ||
5 | # It only supports building the documentation (and cleanup). | ||
6 | # So, the only targets used are "make (all)" and "make clean". | ||
7 | # Actuall installation of manpages/docs is done below | ||
8 | |||
9 | SUBDIRS = sphinx . | ||
4 | 10 | ||
5 | if HAVE_DOXY_BINARY | 11 | if HAVE_DOXY_BINARY |
6 | SUBDIRS += doxygen | 12 | SUBDIRS += doxygen |
7 | endif | 13 | endif |
8 | 14 | ||
9 | sphinx/_build/texinfo/gnunet.info: | ||
10 | cd sphinx && make info | ||
11 | |||
12 | sphinx/_build/html: | ||
13 | cd sphinx && make html | ||
14 | |||
15 | sphinx: sphinx/_build/texinfo/gnunet.info sphinx/_build/html | ||
16 | cd sphinx && make html info | ||
17 | |||
18 | install-data-hook: sphinx | 15 | install-data-hook: sphinx |
19 | mkdir -p $(DESTDIR)$(docdir) | 16 | mkdir -p $(DESTDIR)$(docdir) |
20 | cp -pr sphinx/_build/html $(DESTDIR)$(docdir) | 17 | cp -pr sphinx/_build/html $(DESTDIR)$(docdir) |
21 | mkdir -p $(DESTDIR)$(infodir) | 18 | mkdir -p $(DESTDIR)$(infodir) |
22 | cp -pr sphinx/_build/texinfo/gnunet.info $(DESTDIR)$(infodir) | 19 | cp -pr sphinx/_build/texinfo/gnunet.info $(DESTDIR)$(infodir) |
23 | 20 | ||
24 | clean-local: | ||
25 | cd sphinx && make clean | ||
26 | |||
27 | sphinx/_build/man/gnunet.1: | ||
28 | cd sphinx && make man | ||
29 | |||
30 | sphinx-man: | ||
31 | cd sphinx && make man | ||
32 | |||
33 | .DEFAULT: sphinx-man | ||
34 | |||
35 | if INCLUDE_MANPAGES | 21 | if INCLUDE_MANPAGES |
36 | man_MANS = \ | 22 | man_MANS = \ |
37 | sphinx/_build/man/gnunet.1 \ | 23 | sphinx/_build/man/gnunet.1 \ |