summaryrefslogtreecommitdiff
path: root/docs/src/remap/Makefile
blob: 7318c744dbfdf11222281c39ddc4f709c9b89e6b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# rebuild svg and eps files from mscgen inputs
# see http://www.mcternan.me.uk/mscgen/

# include in docs like so:
#image::images/iocontrol-prepare.{basebackend-docbook!svg}{basebackend-docbook?eps}[]

MSCGEN=/usr/local/bin/mscgen

%.svg: ../%.msc
	$(MSCGEN) -T svg -i $< -o $@

%.eps: ../%.msc
	$(MSCGEN) -T eps  -i $< -o $@

all:	$(patsubst %.msc,images/%.svg,$(wildcard *.msc)) \
	$(patsubst %.msc,images/%.eps,$(wildcard *.msc))