beremiz
Clone
Summary
Browse
Changes
Graph
fix copying elements with non-latin content like comment element, or
2016-04-27, Andrey Skvortsov
5ecb16be9a3c
fix copying elements with non-latin content like comment element, or
variables with description in non-latin character set
before any non-latin text was converted after copying to strings like 'Это...'
#! gmake
yml := ../../yml2
ysl2files := $(wildcard *.ysl2)
xsltfiles := $(patsubst %.ysl2, %.xslt, $(ysl2files))
all:$(xsltfiles)
%.xslt: %.ysl2
$(yml)/yml2c -I $(yml) $< -o $@.tmp
xmlstarlet fo $@.tmp > $@
rm $@.tmp
clean:
rm -f $(xsltfiles)