summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2021-01-07 15:48:22 +0200
committerDaniil Baturin <daniil@vyos.io>2021-01-07 15:48:22 +0200
commit188f2171c62af50c95cda38e2bb86e7cf47413bd (patch)
tree92a612dd207eda8bc3b5a2b3584de0c359f6179a /Makefile
parent04a02d938dc2975eac240819f930e4f047cc0e97 (diff)
downloadvyos-1x-188f2171c62af50c95cda38e2bb86e7cf47413bd.tar.gz
vyos-1x-188f2171c62af50c95cda38e2bb86e7cf47413bd.zip
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 588595e42..964c533f2 100644
--- a/Makefile
+++ b/Makefile
@@ -34,6 +34,9 @@ $(BUILD_DIR):
interface_definitions: $(BUILD_DIR) $(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