summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2021-01-21 09:16:29 -0600
committerJohn Estabrook <jestabro@vyos.io>2021-01-21 09:17:04 -0600
commitdd89255dcc82e315d6106936a97b8c0be360519b (patch)
treea5ff65ff03da4f0c925077aa2c4a5fd91b2b876b /Makefile
parent3dfbd19e0f3676d70dc32f0e001e4589eb9e97d6 (diff)
downloadvyos-1x-dd89255dcc82e315d6106936a97b8c0be360519b.tar.gz
vyos-1x-dd89255dcc82e315d6106936a97b8c0be360519b.zip
xml: T2910: add override script to Makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 2ba640d5b..339793a71 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