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