svghmi/Makefile
branchsvghmi
changeset 2873 022db76c3bff
parent 2872 83adf8859c55
child 2884 50b9832c51fc
--- a/svghmi/Makefile	Mon Mar 16 18:27:49 2020 +0100
+++ b/svghmi/Makefile	Tue Mar 17 07:39:50 2020 +0100
@@ -12,11 +12,12 @@
 yml2path ?= $(abspath ../../yml2)
 
 ysl2files := gen_index_xhtml.ysl2
+ysl2includes := geometry.ysl2 hmi_tree.ysl2
 xsltfiles := $(patsubst %.ysl2, %.xslt, $(ysl2files))
 
 all:$(xsltfiles)
 
-%.xslt: %.ysl2 svghmi.js ../yslt_noindent.yml2
+%.xslt: %.ysl2 $(ysl2includes) svghmi.js ../yslt_noindent.yml2
 	$(yml2path)/yml2c -I $(yml2path):../ $< -o $@.tmp
 	xmlstarlet fo $@.tmp > $@
 	rm $@.tmp