summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-01-14 17:32:12 +0100
committerGitHub <noreply@github.com>2021-01-14 17:32:12 +0100
commit86503b264707c9f076423f53b783bd45c335a7c4 (patch)
tree75d1b1d7dc2237f492b1ab9dc6f24b43186a084b /Makefile
parent1a58bfde9ad954935b9e26d9d3617a9cceb136be (diff)
parent188f2171c62af50c95cda38e2bb86e7cf47413bd (diff)
downloadvyos-1x-86503b264707c9f076423f53b783bd45c335a7c4.tar.gz
vyos-1x-86503b264707c9f076423f53b783bd45c335a7c4.zip
Merge pull request #673 from dmbaturin/separate-base-nodes
T3165: use a separate file for "base" CLI nodes.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 3f13c66a0..11e96d25a 100644
--- a/Makefile
+++ b/Makefile
@@ -33,6 +33,9 @@ op_xml_obj = $(op_xml_src:.xml.in=.xml)
interface_definitions: $(config_xml_obj)
mkdir -p $(TMPL_DIR)
+ # Build "base" templates (service, interfaces, other high-level nodes)
+ $(CURDIR)/scripts/build-command-templates $(CURDIR)/interface-definitions/base/base.xml $(CURDIR)/schema/interface_definition.rng $(TMPL_DIR)
+
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