summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2021-01-21 09:16:29 -0600
committerJohn Estabrook <jestabro@vyos.io>2021-02-03 11:48:01 -0600
commitd38fdaa3a91b168316fc1c668491774b942b8848 (patch)
treedf99cfaccfd49dbd41708afc370e62d5dbb8f9a7
parentc5d56604c972767eaa2877a12503f0940c80b982 (diff)
downloadvyos-1x-d38fdaa3a91b168316fc1c668491774b942b8848.tar.gz
vyos-1x-d38fdaa3a91b168316fc1c668491774b942b8848.zip
xml: T2910: add override script to Makefile
(cherry picked from commit dd89255dcc82e315d6106936a97b8c0be360519b)
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 3f13c66a0..8cdd06776 100644
--- a/Makefile
+++ b/Makefile
@@ -33,6 +33,8 @@ op_xml_obj = $(op_xml_src:.xml.in=.xml)
interface_definitions: $(config_xml_obj)
mkdir -p $(TMPL_DIR)
+ $(CURDIR)/scripts/override-default $(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