blob: f9e356348b24a05cd06e1aa77af7d7245a985162 (
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
|
# doc/src/sgml/images/Makefile
#
# see README in this directory about image handling
ALL_IMAGES = \
genetic-algorithm.svg \
gin.svg \
pagelayout.svg
DITAA = ditaa
DOT = dot
XSLTPROC = xsltproc
all: $(ALL_IMAGES)
%.svg.tmp: %.gv
$(DOT) -T svg -o $@ $<
%.svg.tmp: %.txt
$(DITAA) -E -S --svg $< $@
# Post-processing for SVG files coming from other tools
#
# Use --novalid to avoid loading SVG DTD if a file specifies it, since
# it might not be available locally, and we don't need it.
%.svg: %.svg.tmp fixup-svg.xsl
$(XSLTPROC) --novalid -o $@ $(word 2,$^) $<
|