blob: 645519095d066320273cf427b372e85ed298544d (
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 --nonet
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,$^) $<
|