aboutsummaryrefslogtreecommitdiff
path: root/doc/Makefile.am
blob: b45362d386e3fb679d1d81d01cfd08ca9074b859 (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
# This Makefile.am is in the public domain

SUBDIRS = .

if HAVE_DOXY_BINARY
  SUBDIRS += doxygen
endif

# OpenBSD is a bit iffy wrt sphinx make info
if OPENBSD
all-local:
	cd handbook/texinfo && make || touch gnunet.info
GNUNET_TEXI =
else
GNUNET_TEXI = handbook/texinfo/gnunet.texi
endif

install-data-hook:
	mkdir -p $(DESTDIR)$(docdir)
	cp -pr handbook/html $(DESTDIR)$(docdir)
	mkdir -p $(DESTDIR)$(infodir)
	cp -pr handbook/texinfo/gnunet.info $(DESTDIR)$(infodir)

if INCLUDE_MANPAGES
SUBDIRS += man
endif

AM_MAKEINFOFLAGS = --no-headers --no-split

info_TEXINFOS = \
  $(GNUNET_TEXI)

EXTRA_DIST = \
	handbook/texinfo \
	system_specific/outdated-and-old-installation-instructions.txt \
	system_specific/FROM_SOURCE \
	handbook/html