blob: ce2fd32f7dd4e385ca79827530986e357202c5e3 (
plain)
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
|
# Copyright (C) 2008 - 2019 GraphicsMagick Group
# This program is covered by multiple licenses, which are described in
# Copyright.txt. You should have received a copy of Copyright.txt with this
# package; otherwise see http://www.graphicsmagick.org/www/Copyright.html.
#
# Makefile for building HTML files
#
WWWDIR=$(top_srcdir)/www
# Install HTML files
DOCDIRS = www www/api www/images www/Magick++ www/wand
HTML_INSTALL_DATA_TARGETS = install-data-html
install-data-html:
$(mkinstalldirs) $(DESTDIR)$(htmldir)
@for dir in $(DOCDIRS) ; do \
$(mkinstalldirs) $(DESTDIR)$(htmldir)/$$dir && \
for file in $(srcdir)/$$dir/*.* ; do \
case $$file in \
*.c | *.css | *.gif | *.html | *.ico | *.jpg | *.png ) \
echo "$(INSTALL_DATA) $$file $(DESTDIR)$(htmldir)/$$dir" ; \
$(INSTALL_DATA) "$$file" $(DESTDIR)$(htmldir)/$$dir ; \
;; \
esac \
done ; \
done
# Uninstall HTML files
HTML_UNINSTALL_DATA_TARGETS = uninstall-data-html
# rm -f $(DESTDIR)$(htmldir)/index.html
uninstall-data-html:
for dir in $(DOCDIRS) ; do \
rm -f -r $(DESTDIR)$(htmldir)/$$dir ; \
done
# These files are built from reStructuredText
RST2HTML_TARGETS = \
$(WWWDIR)/ChangeLog-2001.html \
$(WWWDIR)/ChangeLog-2002.html \
$(WWWDIR)/ChangeLog-2003.html \
$(WWWDIR)/ChangeLog-2004.html \
$(WWWDIR)/ChangeLog-2005.html \
$(WWWDIR)/ChangeLog-2006.html \
$(WWWDIR)/ChangeLog-2007.html \
$(WWWDIR)/ChangeLog-2008.html \
$(WWWDIR)/ChangeLog-2009.html \
$(WWWDIR)/ChangeLog-2010.html \
$(WWWDIR)/ChangeLog-2011.html \
$(WWWDIR)/ChangeLog-2012.html \
$(WWWDIR)/ChangeLog-2013.html \
$(WWWDIR)/ChangeLog-2014.html \
$(WWWDIR)/ChangeLog-2015.html \
$(WWWDIR)/ChangeLog-2016.html \
$(WWWDIR)/ChangeLog-2017.html \
$(WWWDIR)/ChangeLog-2018.html \
$(WWWDIR)/ChangeLog-2019.html \
$(WWWDIR)/Changelog.html \
$(WWWDIR)/Changes.html \
$(WWWDIR)/Copyright.html \
$(WWWDIR)/FAQ.html \
$(WWWDIR)/Hg.html \
$(WWWDIR)/INSTALL-unix.html \
$(WWWDIR)/INSTALL-windows.html \
$(WWWDIR)/ImageMagickObject.html \
$(WWWDIR)/Magick++/Blob.html \
$(WWWDIR)/Magick++/ChangeLog.html \
$(WWWDIR)/Magick++/CoderInfo.html \
$(WWWDIR)/Magick++/Color.html \
$(WWWDIR)/Magick++/Drawable.html \
$(WWWDIR)/Magick++/Enumerations.html \
$(WWWDIR)/Magick++/Exception.html \
$(WWWDIR)/Magick++/FormatCharacters.html \
$(WWWDIR)/Magick++/Geometry.html \
$(WWWDIR)/Magick++/Image.html \
$(WWWDIR)/Magick++/ImageDesign.html \
$(WWWDIR)/Magick++/Montage.html \
$(WWWDIR)/Magick++/PixelPacket.html \
$(WWWDIR)/Magick++/Pixels.html \
$(WWWDIR)/Magick++/TypeMetric.html \
$(WWWDIR)/Magick++/index.html \
$(WWWDIR)/NEWS.html \
$(WWWDIR)/OpenMP.html \
$(WWWDIR)/README.html \
$(WWWDIR)/api/api.html \
$(WWWDIR)/authors.html \
$(WWWDIR)/benchmarks.html \
$(WWWDIR)/bugs.html \
$(WWWDIR)/contribute.html \
$(WWWDIR)/download.html \
$(WWWDIR)/formats.html \
$(WWWDIR)/index.html \
$(WWWDIR)/links.html \
$(WWWDIR)/miff.html \
$(WWWDIR)/mission.html \
$(WWWDIR)/motion-picture.html \
$(WWWDIR)/perl.html \
$(WWWDIR)/process.html \
$(WWWDIR)/programming.html \
$(WWWDIR)/project.html \
$(WWWDIR)/quantize.html \
$(WWWDIR)/reference.html \
$(WWWDIR)/security.html \
$(WWWDIR)/thanks.html \
$(WWWDIR)/tools.html \
$(WWWDIR)/utilities.html \
$(WWWDIR)/wand/wand.html
# These files are existing reStructuredText files
WWW_RST_FILES = \
$(WWWDIR)/Changes.rst \
$(WWWDIR)/FAQ.rst \
$(WWWDIR)/Hg.rst \
$(WWWDIR)/ImageMagickObject.rst \
$(WWWDIR)/Magick++/Blob.rst \
$(WWWDIR)/Magick++/CoderInfo.rst \
$(WWWDIR)/Magick++/Color.rst \
$(WWWDIR)/Magick++/Drawable.rst \
$(WWWDIR)/Magick++/Enumerations.rst \
$(WWWDIR)/Magick++/Exception.rst \
$(WWWDIR)/Magick++/FormatCharacters.rst \
$(WWWDIR)/Magick++/Geometry.rst \
$(WWWDIR)/Magick++/Image.rst \
$(WWWDIR)/Magick++/ImageDesign.rst \
$(WWWDIR)/Magick++/Montage.rst \
$(WWWDIR)/Magick++/PixelPacket.rst \
$(WWWDIR)/Magick++/Pixels.rst \
$(WWWDIR)/Magick++/TypeMetric.rst \
$(WWWDIR)/Magick++/index.rst \
$(WWWDIR)/OpenMP.rst \
$(WWWDIR)/api/api.rst \
$(WWWDIR)/authors.rst \
$(WWWDIR)/benchmarks.rst \
$(WWWDIR)/bugs.rst \
$(WWWDIR)/contribute.rst \
$(WWWDIR)/download.rst \
$(WWWDIR)/formats.rst \
$(WWWDIR)/index.rst \
$(WWWDIR)/links.rst \
$(WWWDIR)/miff.rst \
$(WWWDIR)/mission.rst \
$(WWWDIR)/motion-picture.rst \
$(WWWDIR)/perl.rst \
$(WWWDIR)/process.rst \
$(WWWDIR)/programming.rst \
$(WWWDIR)/project.rst \
$(WWWDIR)/quantize.rst \
$(WWWDIR)/reference.rst \
$(WWWDIR)/security.rst \
$(WWWDIR)/thanks.rst \
$(WWWDIR)/tools.rst \
$(WWWDIR)/utilities.rst
# These are the HTML files which are packaged
WWW_HTML_FILES = \
$(WWWDIR)/ChangeLog-2001.html \
$(WWWDIR)/ChangeLog-2002.html \
$(WWWDIR)/ChangeLog-2003.html \
$(WWWDIR)/ChangeLog-2004.html \
$(WWWDIR)/ChangeLog-2005.html \
$(WWWDIR)/ChangeLog-2006.html \
$(WWWDIR)/ChangeLog-2007.html \
$(WWWDIR)/ChangeLog-2008.html \
$(WWWDIR)/ChangeLog-2009.html \
$(WWWDIR)/ChangeLog-2010.html \
$(WWWDIR)/ChangeLog-2011.html \
$(WWWDIR)/ChangeLog-2012.html \
$(WWWDIR)/ChangeLog-2013.html \
$(WWWDIR)/ChangeLog-2014.html \
$(WWWDIR)/ChangeLog-2015.html \
$(WWWDIR)/ChangeLog-2016.html \
$(WWWDIR)/ChangeLog-2017.html \
$(WWWDIR)/ChangeLog-2018.html \
$(WWWDIR)/ChangeLog-2019.html \
$(WWWDIR)/Changelog.html \
$(WWWDIR)/Changes.html \
$(WWWDIR)/Copyright.html \
$(WWWDIR)/FAQ.html \
$(WWWDIR)/GraphicsMagick.html \
$(WWWDIR)/Hg.html \
$(WWWDIR)/INSTALL-unix.html \
$(WWWDIR)/INSTALL-windows.html \
$(WWWDIR)/ImageMagickObject.html \
$(WWWDIR)/ImageMagickObject.rst \
$(WWWDIR)/Magick++/Blob.html \
$(WWWDIR)/Magick++/ChangeLog.html \
$(WWWDIR)/Magick++/CoderInfo.html \
$(WWWDIR)/Magick++/Color.html \
$(WWWDIR)/Magick++/Drawable.html \
$(WWWDIR)/Magick++/Enumerations.html \
$(WWWDIR)/Magick++/Exception.html \
$(WWWDIR)/Magick++/FormatCharacters.html \
$(WWWDIR)/Magick++/Geometry.html \
$(WWWDIR)/Magick++/Image.html \
$(WWWDIR)/Magick++/ImageDesign.html \
$(WWWDIR)/Magick++/Montage.html \
$(WWWDIR)/Magick++/PixelPacket.html \
$(WWWDIR)/Magick++/Pixels.html \
$(WWWDIR)/Magick++/TypeMetric.html \
$(WWWDIR)/Magick++/index.html \
$(WWWDIR)/NEWS.html \
$(WWWDIR)/OpenMP.html \
$(WWWDIR)/README.html \
$(WWWDIR)/animate.html \
$(WWWDIR)/api/api.html \
$(WWWDIR)/authors.html \
$(WWWDIR)/benchmarks.html \
$(WWWDIR)/bugs.html \
$(WWWDIR)/color.html \
$(WWWDIR)/compare.html \
$(WWWDIR)/composite.html \
$(WWWDIR)/conjure.html \
$(WWWDIR)/contribute.html \
$(WWWDIR)/convert.html \
$(WWWDIR)/display.html \
$(WWWDIR)/docutils-api.css \
$(WWWDIR)/docutils-articles.css \
$(WWWDIR)/download.html \
$(WWWDIR)/formats.html \
$(WWWDIR)/gm.html \
$(WWWDIR)/identify.html \
$(WWWDIR)/import.html \
$(WWWDIR)/index.html \
$(WWWDIR)/links.html \
$(WWWDIR)/miff.html \
$(WWWDIR)/mission.html \
$(WWWDIR)/mogrify.html \
$(WWWDIR)/montage.html \
$(WWWDIR)/motion-picture.html \
$(WWWDIR)/perl.html \
$(WWWDIR)/process.html \
$(WWWDIR)/programming.html \
$(WWWDIR)/project.html \
$(WWWDIR)/quantize.html \
$(WWWDIR)/reference.html \
$(WWWDIR)/security.html \
$(WWWDIR)/thanks.html \
$(WWWDIR)/tools.html \
$(WWWDIR)/utilities.html\
$(WWWDIR)/wand/wand.html
WWWW_EXTRA_DIST=$(WWW_HTML_FILES) $(WWW_RST_FILES)
WWW_MAINTAINER_TARGETS=$(WWW_HTML_FILES) $(WWWDIR)/color.html
if MAINTAINER_MODE
NAMED_COLORS=$(top_srcdir)/scripts/named_colors.py
RST2HTMLDECO=$(top_srcdir)/scripts/rst2htmldeco.py
RELPATH=$(top_srcdir)/scripts/relpath.py
OMP_DECIMAL_ALIGN=$(top_srcdir)/scripts/omp_decimal_align.py
RST2HTML_COMMAND = $(RST2HTMLDECO) --cloak-email-addresses --link-stylesheet=docutils-articles.css
$(RST2HTML_TARGETS) : \
$(top_srcdir)/scripts/html_fragments.py \
$(top_srcdir)/scripts/rst2htmldeco.py \
$(top_srcdir)/scripts/omp_decimal_align.py \
$(WWWDIR)/Makefile.am
# Build HTML version of RST file
$(top_srcdir)/www/%.html: $(top_srcdir)/%.txt
$(RST2HTMLDECO) --link-stylesheet=`$(RELPATH) $(top_srcdir)/www $@`docutils-articles.css \
--url-prefix=`$(RELPATH) $(top_srcdir)/www $@` $< $@
$(top_srcdir)/%.html: $(top_srcdir)/%.rst
$(RST2HTMLDECO) --link-stylesheet=`$(RELPATH) $(top_srcdir)/www $@`docutils-articles.css \
--url-prefix=`$(RELPATH) $(top_srcdir)/www $@` $< | $(OMP_DECIMAL_ALIGN) > $@
#
# Build HTML version of ChangeLogs
#
CHANGELOG2RST=$(top_srcdir)/scripts/changelog2rst.sh
$(top_srcdir)/www/Changelog.rst: $(top_srcdir)/ChangeLog
$(CHANGELOG2RST) < $^ > $@
$(top_srcdir)/www/ChangeLog-2019.rst: $(top_srcdir)/ChangeLog.2019
$(CHANGELOG2RST) < $^ > $@
$(top_srcdir)/www/ChangeLog-2018.rst: $(top_srcdir)/ChangeLog.2018
$(CHANGELOG2RST) < $^ > $@
$(top_srcdir)/www/ChangeLog-2017.rst: $(top_srcdir)/ChangeLog.2017
$(CHANGELOG2RST) < $^ > $@
$(top_srcdir)/www/ChangeLog-2016.rst: $(top_srcdir)/ChangeLog.2016
$(CHANGELOG2RST) < $^ > $@
$(top_srcdir)/www/ChangeLog-2015.rst: $(top_srcdir)/ChangeLog.2015
$(CHANGELOG2RST) < $^ > $@
$(top_srcdir)/www/ChangeLog-2014.rst: $(top_srcdir)/ChangeLog.2014
$(CHANGELOG2RST) < $^ > $@
$(top_srcdir)/www/ChangeLog-2013.rst: $(top_srcdir)/ChangeLog.2013
$(CHANGELOG2RST) < $^ > $@
$(top_srcdir)/www/ChangeLog-2012.rst: $(top_srcdir)/ChangeLog.2012
$(CHANGELOG2RST) < $^ > $@
$(top_srcdir)/www/ChangeLog-2011.rst: $(top_srcdir)/ChangeLog.2011
$(CHANGELOG2RST) < $^ > $@
$(top_srcdir)/www/ChangeLog-2010.rst: $(top_srcdir)/ChangeLog.2010
$(CHANGELOG2RST) < $^ > $@
$(top_srcdir)/www/ChangeLog-2009.rst: $(top_srcdir)/ChangeLog.2009
$(CHANGELOG2RST) < $^ > $@
$(top_srcdir)/www/ChangeLog-2008.rst: $(top_srcdir)/ChangeLog.2008
$(CHANGELOG2RST) < $^ > $@
$(top_srcdir)/www/ChangeLog-2007.rst: $(top_srcdir)/ChangeLog.2007
$(CHANGELOG2RST) < $^ > $@
$(top_srcdir)/www/ChangeLog-2006.rst: $(top_srcdir)/ChangeLog.2006
$(CHANGELOG2RST) < $^ > $@
$(top_srcdir)/www/ChangeLog-2005.rst: $(top_srcdir)/ChangeLog.2005
$(CHANGELOG2RST) < $^ > $@
$(top_srcdir)/www/ChangeLog-2004.rst: $(top_srcdir)/ChangeLog.2004
$(CHANGELOG2RST) < $^ > $@
$(top_srcdir)/www/ChangeLog-2003.rst: $(top_srcdir)/ChangeLog.2003
$(CHANGELOG2RST) < $^ > $@
$(top_srcdir)/www/ChangeLog-2002.rst: $(top_srcdir)/ChangeLog.2002
$(CHANGELOG2RST) < $^ > $@
$(top_srcdir)/www/ChangeLog-2001.rst: $(top_srcdir)/ChangeLog.2001
$(CHANGELOG2RST) < $^ > $@
$(top_srcdir)/www/Magick++/ChangeLog.rst: $(top_srcdir)/Magick++/ChangeLog
$(CHANGELOG2RST) < $^ > $@
# Build color.html
$(WWWDIR)/color.html : $(NAMED_COLORS)
$(NAMED_COLORS) > $@
endif # MAINTAINER_MODE
|