1 # This Makefile.am is in the public domain
4 docdir = $(datadir)/doc/gnunet/
6 infoimagedir = $(infodir)/images
8 dist_infoimage_DATA = \
9 %D%/images/gnunet-gtk-0-10-gns-a-done.png \
10 %D%/images/gnunet-gtk-0-10-gns-a.png \
11 %D%/images/daemon_lego_block.png \
12 %D%/images/gnunet-gtk-0-10-gns.png \
13 %D%/images/gnunet-0-10-peerinfo.png \
14 %D%/images/gnunet-gtk-0-10-identity.png \
15 %D%/images/gnunet-fs-gtk-0-10-star-tab.png \
16 %D%/images/gnunet-gtk-0-10.png \
17 %D%/images/gnunet-gtk-0-10-download-area.png \
18 %D%/images/gnunet-gtk-0-10-search-selected.png \
19 %D%/images/gnunet-gtk-0-10-fs-menu.png \
20 %D%/images/gnunet-gtk-0-10-traffic.png \
21 %D%/images/gnunet-gtk-0-10-fs.png \
22 %D%/images/gnunet-namestore-gtk-phone.png \
23 %D%/images/gnunet-gtk-0-10-fs-publish-editing.png \
24 %D%/images/gnunet-namestore-gtk-vpn.png \
25 %D%/images/gnunet-gtk-0-10-fs-published.png \
26 %D%/images/gnunet-setup-exit.png \
27 %D%/images/gnunet-gtk-0-10-fs-publish.png \
28 %D%/images/iceweasel-preferences.png \
29 %D%/images/gnunet-gtk-0-10-fs-publish-select.png \
30 %D%/images/iceweasel-proxy.png \
31 %D%/images/gnunet-gtk-0-10-fs-publish-with-file_0.png \
32 %D%/images/service_lego_block.png \
33 %D%/images/gnunet-gtk-0-10-fs-publish-with-file.png \
34 %D%/images/service_stack.png \
35 %D%/images/gnunet-gtk-0-10-fs-search.png \
36 %D%/images/gnunet-tutorial-service.png \
37 %D%/images/gnunet-tutorial-system.png \
38 %D%/images/daemon_lego_block.svg \
39 %D%/images/lego_stack.svg \
40 %D%/images/service_lego_block.svg
42 gnunet_tutorial_examples = \
73 # It seems as if either we still have gnunet-c-tutorial markup issues
74 # or we have issues that can only occur in systems which are not using Guix
75 # or we have version incompabilities.
76 # gnunet-c-tutorial.texi
79 chapters/developer.texi \
80 chapters/installation.texi \
81 chapters/philosophy.texi \
88 $(gnunet_tutorial_examples) \
89 outdated-and-old-installation-instructions.txt \
90 gnunet-c-tutorial-v1.pdf \
93 daemon_lego_block.png: images/daemon_lego_block.svg
94 convert images/daemon_lego_block.svg images/daemon_lego_block.png &&
95 pngcrush images/daemon_lego_block.png images/daemon_lego_block.png
97 service_lego_block.png: images/service_lego_block.svg
98 convert images/service_lego_block.svg images/service_lego_block.png &&
99 pngcrush images/service_lego_block.png images/serivce_lego_block.png
101 lego_stack.png: images/lego_stack.svg
102 convert images/lego_stack.svg images/lego_stack.png &&
103 pngcrush images/lego_stack.png images/lego_stack.png
106 echo "@set UPDATED $(date +'%d %B %Y')" > $@
107 echo "@set UPDATED-MONTH $(date +'%B %Y')" >> $@
108 echo "@set EDITION $(PACKAGE_VERSION)" >> $@
109 echo "@set VERSION $(PACKAGE_VERSION)" >> $@
111 doc-pdf: version.texi
112 @makeinfo --pdf --quiet gnunet.texi
113 doc-pdf-tutorial: version.texi
114 @makeinfo --pdf --quiet gnunet-c-tutorial.texi
116 doc-html: version.texi
117 @makeinfo --html gnunet.texi
118 doc-html-tutorial: version.texi
119 @makeinfo --html gnunet-c-tutorial.texi
121 doc-info: version.texi
122 @makeinfo --no-split gnunet.texi
123 doc-info-tutorial: version.texi
124 @makeinfo --no-split gnunet-c-tutorial.texi
126 # FIXME: rm *.html and *.pdf
128 @rm *.aux *.log *.toc *.cp *.cps
130 doc-all: doc-pdf doc-html doc-info doc-pdf-tutorial doc-html-tutorial doc-info-tutorial
132 doc-pdf-noise: version.texi
133 @makeinfo --pdf gnunet.texi
134 doc-pdf-tutorial-noise: version.texi
135 @makeinfo --pdf gnunet-c-tutorial.texi
137 doc-html-noise: version.texi
138 @makeinfo --html gnunet.texi
139 doc-html-tutorial-noise: version.texi
140 @makeinfo --html gnunet-c-tutorial.texi
142 doc-info-noise: version.texi
143 @makeinfo --no-split gnunet.texi
144 doc-info-tutorial-noise: version.texi
145 @makeinfo --no-split gnunet-c-tutorial.texi
147 doc-all-give-me-the-noise: doc-pdf-noise doc-html-noise doc-info-noise doc-pdf-tutorial-noise doc-html-tutorial-noise doc-info-tutorial-noise