summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2023-05-10 16:03:46 -0500
committerJohn Estabrook <jestabro@vyos.io>2023-05-11 15:13:09 -0500
commitec4f1851058cc7c57ec460f3e81146bf318e2cc4 (patch)
tree09c98843ea0faf36d5ef7d7561636d3fd3033a95 /Makefile
parente8bfd3c7dcf59d9df74de85291bec2ee0f6c2950 (diff)
downloadvyos-1x-ec4f1851058cc7c57ec460f3e81146bf318e2cc4.tar.gz
vyos-1x-ec4f1851058cc7c57ec460f3e81146bf318e2cc4.zip
xml: T5218: generate xml cache from reference_tree
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 4400cbfdc..37499c178 100644
--- a/Makefile
+++ b/Makefile
@@ -27,6 +27,8 @@ interface_definitions: $(config_xml_obj)
$(CURDIR)/scripts/override-default $(BUILD_DIR)/interface-definitions
+ $(CURDIR)/python/vyos/xml_ref/generate_cache.py --xml-dir $(BUILD_DIR)/interface-definitions
+
find $(BUILD_DIR)/interface-definitions -type f -name "*.xml" | xargs -I {} $(CURDIR)/scripts/build-command-templates {} $(CURDIR)/schema/interface_definition.rng $(TMPL_DIR) || exit 1
# XXX: delete top level node.def's that now live in other packages