svghmi/Makefile
changeset 3472 2fb9849c6721
parent 3235 b2b6bf45aa2d
child 3484 32eaba9cf30e
equal deleted inserted replaced
3471:3f7b4a2009ba 3472:2fb9849c6721
    13 
    13 
    14 ysl2files := gen_index_xhtml.ysl2 gen_dnd_widget_svg.ysl2 analyse_widget.ysl2
    14 ysl2files := gen_index_xhtml.ysl2 gen_dnd_widget_svg.ysl2 analyse_widget.ysl2
    15 ysl2includes := $(filter-out $(ysl2files), $(wildcard *.ysl2))
    15 ysl2includes := $(filter-out $(ysl2files), $(wildcard *.ysl2))
    16 xsltfiles := $(patsubst %.ysl2, %.xslt, $(ysl2files))
    16 xsltfiles := $(patsubst %.ysl2, %.xslt, $(ysl2files))
    17 
    17 
       
    18 jsfiles := svghmi.js sprintf.js
       
    19 
    18 all:$(xsltfiles)
    20 all:$(xsltfiles)
    19 
    21 
    20 %.xslt: %.ysl2 $(ysl2includes) svghmi.js ../yslt_noindent.yml2
    22 %.xslt: %.ysl2 $(ysl2includes) $(jsfiles) ../yslt_noindent.yml2
    21 	$(yml2path)/yml2c -I $(yml2path):../ $< -o $@.tmp
    23 	$(yml2path)/yml2c -I $(yml2path):../ $< -o $@.tmp
    22 	xmlstarlet fo $@.tmp > $@
    24 	xmlstarlet fo $@.tmp > $@
    23 	rm $@.tmp
    25 	rm $@.tmp
    24 	
    26 	
    25 clean:
    27 clean: