--- a/svghmi/Makefile Wed Mar 18 09:16:14 2020 +0100
+++ b/svghmi/Makefile Wed Mar 18 09:37:26 2020 +0100
@@ -12,7 +12,7 @@
yml2path ?= $(abspath ../../yml2)
ysl2files := gen_index_xhtml.ysl2
-ysl2includes := geometry.ysl2 hmi_tree.ysl2
+ysl2includes := $(filter-out $(ysl2files), $(wildcard *.ysl2))
xsltfiles := $(patsubst %.ysl2, %.xslt, $(ysl2files))
all:$(xsltfiles)
--- a/svghmi/widgets_common.ysl2 Wed Mar 18 09:16:14 2020 +0100
+++ b/svghmi/widgets_common.ysl2 Wed Mar 18 09:37:26 2020 +0100
@@ -1,3 +1,5 @@
+// widgets_common.ysl2
+
in xsl decl labels(*ptr, name="defs_by_labels") alias call-template {
with "hmi_element", "$hmi_element";
with "labels"{text *ptr};