changeset 1936 | b85b13b1c2ec |
parent 1353 | fc7aab64589b |
child 2627 | 3ba6a2d26507 |
1935:f2b0d849ea77 | 1936:b85b13b1c2ec |
---|---|
4 ysl2files := $(wildcard *.ysl2) |
4 ysl2files := $(wildcard *.ysl2) |
5 xsltfiles := $(patsubst %.ysl2, %.xslt, $(ysl2files)) |
5 xsltfiles := $(patsubst %.ysl2, %.xslt, $(ysl2files)) |
6 |
6 |
7 all:$(xsltfiles) |
7 all:$(xsltfiles) |
8 |
8 |
9 %.xslt: %.ysl2 |
9 %.xslt: %.ysl2 yslt_noindent.yml2 |
10 $(yml)/yml2c -I $(yml) $< -o $@.tmp |
10 $(yml)/yml2c -I $(yml) $< -o $@.tmp |
11 xmlstarlet fo $@.tmp > $@ |
11 xmlstarlet fo $@.tmp > $@ |
12 rm $@.tmp |
12 rm $@.tmp |
13 |
13 |
14 clean: |
14 clean: |