svghmi/Makefile
branchsvghmi
changeset 2884 50b9832c51fc
parent 2873 022db76c3bff
child 3221 3d307ad803ea
equal deleted inserted replaced
2883:8e3d130399b0 2884:50b9832c51fc
    10 #   make yml2path=path/to/yml/dir
    10 #   make yml2path=path/to/yml/dir
    11 
    11 
    12 yml2path ?= $(abspath ../../yml2)
    12 yml2path ?= $(abspath ../../yml2)
    13 
    13 
    14 ysl2files := gen_index_xhtml.ysl2
    14 ysl2files := gen_index_xhtml.ysl2
    15 ysl2includes := geometry.ysl2 hmi_tree.ysl2
    15 ysl2includes := $(filter-out $(ysl2files), $(wildcard *.ysl2))
    16 xsltfiles := $(patsubst %.ysl2, %.xslt, $(ysl2files))
    16 xsltfiles := $(patsubst %.ysl2, %.xslt, $(ysl2files))
    17 
    17 
    18 all:$(xsltfiles)
    18 all:$(xsltfiles)
    19 
    19 
    20 %.xslt: %.ysl2 $(ysl2includes) svghmi.js ../yslt_noindent.yml2
    20 %.xslt: %.ysl2 $(ysl2includes) svghmi.js ../yslt_noindent.yml2