aboutsummaryrefslogtreecommitdiff
path: root/doc/Makefile.am
blob: 8caacb2bd150f55485651fe28da51dacf89fb524 (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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
# This Makefile.am is in the public domain
SUBDIRS = man doxygen

docdir = $(datadir)/doc/gnunet/

gnunet_doc_images = \
	images/gnunet-gtk-0-10-gns-a-done.png \
	images/gnunet-gtk-0-10-gns-a.png \
	images/daemon_lego_block.png \
	images/gnunet-gtk-0-10-gns.png \
	images/gnunet-0-10-peerinfo.png \
	images/gnunet-gtk-0-10-identity.png \
	images/gnunet-fs-gtk-0-10-star-tab.png \
	images/gnunet-gtk-0-10.png \
	images/gnunet-gtk-0-10-download-area.png \
	images/gnunet-gtk-0-10-search-selected.png \
	images/gnunet-gtk-0-10-fs-menu.png \
	images/gnunet-gtk-0-10-traffic.png \
	images/gnunet-gtk-0-10-fs.png \
	images/gnunet-namestore-gtk-phone.png \
	images/gnunet-gtk-0-10-fs-publish-editing.png \
	images/gnunet-namestore-gtk-vpn.png \
	images/gnunet-gtk-0-10-fs-published.png \
	images/gnunet-setup-exit.png \
	images/gnunet-gtk-0-10-fs-publish.png \
	images/iceweasel-preferences.png \
	images/gnunet-gtk-0-10-fs-publish-select.png \
	images/iceweasel-proxy.png \
	images/gnunet-gtk-0-10-fs-publish-with-file_0.png \
	images/service_lego_block.png \
	images/gnunet-gtk-0-10-fs-publish-with-file.png \
	images/service_stack.png \
	images/gnunet-gtk-0-10-fs-search.png

info_TEXINFOS = \
	gnunet.texi

# FIXME: include this file in the documentation:
#	gnunet-c-tutorial.tex

gnunet_TEXINFOS = \
	chapters/developer.texi \
	chapters/installation.texi \
	chapters/philosophy.texi \
	chapters/user.texi \
	fdl-1.3.texi \
	gpl-3.0.texi

EXTRA_DIST = \
	$(gnunet_TEXINFOS) \
	$(gnunet_doc_images)

version.texi:
	echo "@set UPDATED $(date +'%d %B %Y')" > $@
	echo "@set UPDATED-MONTH $(date +'%B %Y')" >> $@
	echo "@set EDITION $(PACKAGE_VERSION)" >> $@
	echo "@set VERSION $(PACKAGE_VERSION)" >> $@ 

doc-pdf: version.texi
	@makeinfo --pdf --quiet gnunet.texi

doc-html: version.texi
	@makeinfo --html gnunet.texi

doc-info: version.texi
	@makeinfo --no-split gnunet.texi

# FIXME: rm *.html and *.pdf
doc-clean:
	@rm *.aux *.log *.toc *.cp *.cps

doc-all: doc-pdf doc-html doc-info

.PHONY: version.texi