summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2020-06-11 23:35:00 +0300
committerDaniil Baturin <daniil@vyos.io>2020-06-11 23:35:00 +0300
commitf2f853d2d1ae118fdd7e1cac215bfa26f568e890 (patch)
tree1e5cfc9d9a826baefba67666258d46f5d9c42120 /Makefile
parent927c054d9236c2c34ca43c1cbfff10fcfd7f5077 (diff)
downloadvyos-1x-f2f853d2d1ae118fdd7e1cac215bfa26f568e890.tar.gz
vyos-1x-f2f853d2d1ae118fdd7e1cac215bfa26f568e890.zip
Add a make target for converting compact RelaxNG schemas to XML.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 77ac03a82..593a8a5f7 100644
--- a/Makefile
+++ b/Makefile
@@ -135,3 +135,8 @@ docs:
deb:
dpkg-buildpackage -uc -us -tc -b
+
+.PHONY: schema
+schema:
+ trang -I rnc -O rng schema/interface_definition.rnc schema/interface_definition.rng
+ trang -I rnc -O rng schema/op-mode-definition.rnc schema/op-mode-definition.rng