diff options
Diffstat (limited to 'doc/Makefile.am')
-rw-r--r-- | doc/Makefile.am | 33 |
1 files changed, 26 insertions, 7 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am index a9ad69954..b45362d38 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am | |||
@@ -1,18 +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 handbook tutorial | 6 | SUBDIRS += doxygen |
6 | endif | 7 | endif |
7 | 8 | ||
8 | if !DOCUMENTATION | 9 | # OpenBSD is a bit iffy wrt sphinx make info |
9 | SUBDIRS = doxygen | 10 | if OPENBSD |
11 | all-local: | ||
12 | cd handbook/texinfo && make || touch gnunet.info | ||
13 | GNUNET_TEXI = | ||
14 | else | ||
15 | GNUNET_TEXI = handbook/texinfo/gnunet.texi | ||
10 | endif | 16 | endif |
11 | 17 | ||
18 | install-data-hook: | ||
19 | mkdir -p $(DESTDIR)$(docdir) | ||
20 | cp -pr handbook/html $(DESTDIR)$(docdir) | ||
21 | mkdir -p $(DESTDIR)$(infodir) | ||
22 | cp -pr handbook/texinfo/gnunet.info $(DESTDIR)$(infodir) | ||
23 | |||
12 | if INCLUDE_MANPAGES | 24 | if INCLUDE_MANPAGES |
13 | SUBDIRS += man | 25 | SUBDIRS += man |
14 | endif | 26 | endif |
15 | 27 | ||
16 | EXTRA_DIST = \ | 28 | AM_MAKEINFOFLAGS = --no-headers --no-split |
29 | |||
30 | info_TEXINFOS = \ | ||
31 | $(GNUNET_TEXI) | ||
32 | |||
33 | EXTRA_DIST = \ | ||
34 | handbook/texinfo \ | ||
17 | system_specific/outdated-and-old-installation-instructions.txt \ | 35 | system_specific/outdated-and-old-installation-instructions.txt \ |
18 | system_specific/FROM_SOURCE | 36 | system_specific/FROM_SOURCE \ |
37 | handbook/html | ||