diff options
Diffstat (limited to 'doc/Makefile.am')
-rw-r--r-- | doc/Makefile.am | 227 |
1 files changed, 1 insertions, 226 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am index 1a8bb64b9..f84c66753 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am | |||
@@ -1,232 +1,7 @@ | |||
1 | # This Makefile.am is in the public domain | 1 | # This Makefile.am is in the public domain |
2 | SUBDIRS = man doxygen | 2 | SUBDIRS = man doxygen documentation |
3 | |||
4 | docdir = $(datadir)/doc/gnunet/ | ||
5 | |||
6 | infoimagedir = $(infodir)/images | ||
7 | |||
8 | #DOT_FILES = images/$(wildcard *.dot) | ||
9 | |||
10 | #DOT_VECTOR_GRAPHICS = \ | ||
11 | # $(DOT_FILES:%.dot=%.eps) \ | ||
12 | # $(DOT_FILES:%.dot=%.pdf) | ||
13 | |||
14 | dist_infoimage_DATA = \ | ||
15 | images/gnunet-gtk-0-10-gns-a-done.png \ | ||
16 | images/gnunet-gtk-0-10-gns-a.png \ | ||
17 | images/daemon_lego_block.png \ | ||
18 | images/gnunet-gtk-0-10-gns.png \ | ||
19 | images/gnunet-0-10-peerinfo.png \ | ||
20 | images/gnunet-gtk-0-10-identity.png \ | ||
21 | images/gnunet-fs-gtk-0-10-star-tab.png \ | ||
22 | images/gnunet-gtk-0-10.png \ | ||
23 | images/gnunet-gtk-0-10-download-area.png \ | ||
24 | images/gnunet-gtk-0-10-search-selected.png \ | ||
25 | images/gnunet-gtk-0-10-fs-menu.png \ | ||
26 | images/gnunet-gtk-0-10-traffic.png \ | ||
27 | images/gnunet-gtk-0-10-fs.png \ | ||
28 | images/gnunet-namestore-gtk-phone.png \ | ||
29 | images/gnunet-gtk-0-10-fs-publish-editing.png \ | ||
30 | images/gnunet-namestore-gtk-vpn.png \ | ||
31 | images/gnunet-gtk-0-10-fs-published.png \ | ||
32 | images/gnunet-setup-exit.png \ | ||
33 | images/gnunet-gtk-0-10-fs-publish.png \ | ||
34 | images/iceweasel-preferences.png \ | ||
35 | images/gnunet-gtk-0-10-fs-publish-select.png \ | ||
36 | images/iceweasel-proxy.png \ | ||
37 | images/gnunet-gtk-0-10-fs-publish-with-file_0.png \ | ||
38 | images/service_lego_block.png \ | ||
39 | images/gnunet-gtk-0-10-fs-publish-with-file.png \ | ||
40 | images/service_stack.png \ | ||
41 | images/gnunet-gtk-0-10-fs-search.png \ | ||
42 | images/gnunet-tutorial-service.png \ | ||
43 | images/gnunet-tutorial-system.png \ | ||
44 | images/daemon_lego_block.svg \ | ||
45 | images/lego_stack.svg \ | ||
46 | images/service_lego_block.svg \ | ||
47 | images/structure.dot | ||
48 | |||
49 | # images/$(wildcard *.png) \ | ||
50 | # images/$(wildcard *.svg) | ||
51 | # $(DOT_FILES:%.dot=%.png) | ||
52 | |||
53 | #DOT_OPTIONS = \ | ||
54 | # -Gratio=.9 -Gnodesep=.005 -Granksep=.00005 \ | ||
55 | # -Nfontsite=9 -Nheight=.1 -Nwidth=.1 | ||
56 | |||
57 | # .dot.png: | ||
58 | # $(AM_V_DOT)$(DOT) -Tpng $(DOT_OPTIONS) < "$<" > "$(srcdir)/$@.tmp"; \ | ||
59 | # mv "$(srcdir)/$@.tmp" "$(srcdir)/$@" | ||
60 | |||
61 | # .dot.pdf: | ||
62 | # $(AM_V_DOT)$(DOT) -Tpdf $(DOT_OPTIONS) < "$<" > "$(srcdir)/$@.tmp"; \ | ||
63 | # mv "$(srcdir)/$@.tmp" "$(srcdir)/$@" | ||
64 | |||
65 | # .dot.eps: | ||
66 | # $(AM_V_DOT)$(DOT) -Teps $(DOT_OPTIONS) < "$<" > "$(srcdir)/$@.tmp"; \ | ||
67 | # mv "$(srcdir)/$@.tmp" "$(srcdir)/$@" | ||
68 | |||
69 | # .png.eps: | ||
70 | # $(AM_V_GEN)convert "$<" "$@-tmp.eps"; \ | ||
71 | # mv "$@-tmp.eps" "$@" | ||
72 | |||
73 | # pdf-local: $(DOT_FILES=%.dot=$(top_srcdir)/%.pdf) | ||
74 | # info-local: $(DOT_FILES=%.dot=$(top_srcdir)/%.png) | ||
75 | # ps-local: $(DOT_FILES=%.dot=$(top_srcdir)/%.eps) \ | ||
76 | # $(top_srcdir)/%D%/images/coreutils-size-map.eps | ||
77 | # dvi-local: ps-local | ||
78 | |||
79 | gnunet_tutorial_examples = \ | ||
80 | 001.c \ | ||
81 | 002.c \ | ||
82 | 003.c \ | ||
83 | 004.c \ | ||
84 | 005.c \ | ||
85 | 006.c \ | ||
86 | 007.c \ | ||
87 | 008.c \ | ||
88 | 009.c \ | ||
89 | 010.c \ | ||
90 | 011.c \ | ||
91 | 012.c \ | ||
92 | 013.c \ | ||
93 | 014.c \ | ||
94 | 015.c \ | ||
95 | 016.c \ | ||
96 | 017.c \ | ||
97 | 018.c \ | ||
98 | 019.c \ | ||
99 | 020.c \ | ||
100 | 021.c \ | ||
101 | 022.c \ | ||
102 | 023.c \ | ||
103 | 024.c \ | ||
104 | 025.c \ | ||
105 | 026.c | ||
106 | |||
107 | info_TEXINFOS = \ | ||
108 | gnunet.texi \ | ||
109 | gnunet-c-tutorial.texi | ||
110 | |||
111 | gnunet_TEXINFOS = \ | ||
112 | chapters/developer.texi \ | ||
113 | chapters/installation.texi \ | ||
114 | chapters/philosophy.texi \ | ||
115 | chapters/user.texi \ | ||
116 | fdl-1.3.texi \ | ||
117 | gpl-3.0.texi | ||
118 | 3 | ||
119 | EXTRA_DIST = \ | 4 | EXTRA_DIST = \ |
120 | $(gnunet_TEXINFOS) \ | ||
121 | outdated-and-old-installation-instructions.txt \ | 5 | outdated-and-old-installation-instructions.txt \ |
122 | gnunet-c-tutorial-v1.pdf \ | 6 | gnunet-c-tutorial-v1.pdf \ |
123 | $(gnunet_tutorial_examples) \ | ||
124 | README.txt | 7 | README.txt |
125 | |||
126 | |||
127 | # $(DOT_FILES) \ | ||
128 | # $(DOT_VECTOR_GRAPHICS) | ||
129 | |||
130 | DISTCLEANFILES = \ | ||
131 | gnunet.cps \ | ||
132 | gnunet-c-tutorial.cps \ | ||
133 | chapters/developer.cps \ | ||
134 | chapters/installation.cps \ | ||
135 | chapter/philosophy.cps \ | ||
136 | chapters/user.cps \ | ||
137 | fdl-1.3.cps \ | ||
138 | gpl-3.0.cps | ||
139 | |||
140 | # if HAVE_EXTENDED_DOCUMENTATION_BUILDING | ||
141 | daemon_lego_block.png: images/daemon_lego_block.svg | ||
142 | convert images/daemon_lego_block.svg images/daemon_lego_block.png && | ||
143 | pngcrush images/daemon_lego_block.png images/daemon_lego_block.png | ||
144 | |||
145 | service_lego_block.png: images/service_lego_block.svg | ||
146 | convert images/service_lego_block.svg images/service_lego_block.png && | ||
147 | pngcrush images/service_lego_block.png images/serivce_lego_block.png | ||
148 | |||
149 | lego_stack.png: images/lego_stack.svg | ||
150 | convert images/lego_stack.svg images/lego_stack.png && | ||
151 | pngcrush images/lego_stack.png images/lego_stack.png | ||
152 | |||
153 | version.texi: | ||
154 | echo "@set UPDATED $(date +'%d %B %Y')" > $@ | ||
155 | echo "@set UPDATED-MONTH $(date +'%B %Y')" >> $@ | ||
156 | echo "@set EDITION $(PACKAGE_VERSION)" >> $@ | ||
157 | echo "@set VERSION $(PACKAGE_VERSION)" >> $@ | ||
158 | |||
159 | doc-pdf: version.texi | ||
160 | @makeinfo --pdf --quiet gnunet.texi | ||
161 | doc-pdf-tutorial: version.texi | ||
162 | @makeinfo --pdf --quiet gnunet-c-tutorial.texi | ||
163 | |||
164 | doc-html: version.texi | ||
165 | @makeinfo --html gnunet.texi | ||
166 | doc-html-tutorial: version.texi | ||
167 | @makeinfo --html gnunet-c-tutorial.texi | ||
168 | |||
169 | doc-info: version.texi | ||
170 | @makeinfo --no-split gnunet.texi | ||
171 | doc-info-tutorial: version.texi | ||
172 | @makeinfo --no-split gnunet-c-tutorial.texi | ||
173 | |||
174 | # FIXME: rm *.html and *.pdf | ||
175 | doc-clean: | ||
176 | @rm *.aux *.log *.toc *.cp *.cps | ||
177 | |||
178 | doc-all: doc-pdf doc-html doc-info doc-pdf-tutorial doc-html-tutorial doc-info-tutorial | ||
179 | |||
180 | doc-pdf-noise: version.texi | ||
181 | @makeinfo --pdf gnunet.texi | ||
182 | doc-pdf-tutorial-noise: version.texi | ||
183 | @makeinfo --pdf gnunet-c-tutorial.texi | ||
184 | |||
185 | doc-html-noise: version.texi | ||
186 | @makeinfo --html gnunet.texi | ||
187 | doc-html-tutorial-noise: version.texi | ||
188 | @makeinfo --html gnunet-c-tutorial.texi | ||
189 | |||
190 | doc-info-noise: version.texi | ||
191 | @makeinfo --no-split gnunet.texi | ||
192 | doc-info-tutorial-noise: version.texi | ||
193 | @makeinfo --no-split gnunet-c-tutorial.texi | ||
194 | |||
195 | 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 | ||
196 | |||
197 | doc-all-install: doc-all-give-me-the-noise | ||
198 | @mkdir -p $(DESTDIR)/$(docdir) | ||
199 | @mkdir -p $(DESTDIR)/$(infoimagedir) | ||
200 | @mkdir -p $(DESTDIR)/$(infodir) | ||
201 | @install -m 0755 gnunet.pdf $(DESTDIR)/$(docdir) | ||
202 | @install -m 0755 gnunet-c-tutorial.pdf $(DESTDIR)/$(docdir) | ||
203 | @install -m 0755 gnunet-c-tutorial.info $(DESTDIR)/$(infodir) | ||
204 | @install -m 0755 gnunet.info $(DESTDIR)/$(infodir) | ||
205 | @cp -r gnunet $(DESTDIR)/$(docdir) | ||
206 | @cp -r gnunet-c-tutorial $(DESTDIR)/$(docdir) | ||
207 | |||
208 | # @cp -r images $(DESTDIR)/$(infoimagedir) | ||
209 | |||
210 | # TODO: Add more to clean. | ||
211 | # clean: | ||
212 | # @rm gnunet.pdf | ||
213 | # @rm gnunet-c-tutorial.pdf | ||
214 | # @rm gnunet.info | ||
215 | # @rm gnunet-c-tutorial.info | ||
216 | |||
217 | # CLEANFILES = \ | ||
218 | # gnunet.log \ | ||
219 | # gnunet-c-tutorial.log \ | ||
220 | # $(wildcard *.aux) \ | ||
221 | # $(wildcard *.toc) \ | ||
222 | # $(wildcard *.cp) \ | ||
223 | # $(wildcard *.cps) | ||
224 | |||
225 | .PHONY: version.texi | ||
226 | # if HAVE_EXTENDED_DOCUMENTATION_BUILDING_PDF | ||
227 | |||
228 | # if HAVE_EXTENDED_DOCUMENTATION_BUILDING_HTML | ||
229 | |||
230 | # endif | ||
231 | # endif | ||
232 | # endif | ||