summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@sentrium.io>2020-01-10 15:28:03 -0600
committerJohn Estabrook <jestabro@sentrium.io>2020-01-13 12:51:29 -0600
commit0ecc2c26f7ac939e4e23c14f5027ac7592c25761 (patch)
tree3a13d38f65a358252c69c5b2ea01aee189b1e412 /Makefile
parent5849ba88a1a20e4d3584843e0be46e456c5f7980 (diff)
downloadvyos-1x-0ecc2c26f7ac939e4e23c14f5027ac7592c25761.tar.gz
vyos-1x-0ecc2c26f7ac939e4e23c14f5027ac7592c25761.zip
xml: T1962: Add script to process syntaxVersion tags during build
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 61e603612..d05a0adbe 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,7 @@
TMPL_DIR := templates-cfg
OP_TMPL_DIR := templates-op
BUILD_DIR := build
+DATA_DIR := data
CFLAGS :=
src = $(wildcard interface-definitions/*.xml.in)
@@ -77,8 +78,13 @@ op_mode_definitions:
rm -f $(OP_TMPL_DIR)/reset/vpn/node.def
rm -f $(OP_TMPL_DIR)/show/system/node.def
+.PHONY: component_versions
+.ONESHELL:
+component_versions: $(BUILD_DIR) $(obj)
+ $(CURDIR)/scripts/build-component-versions $(BUILD_DIR)/interface-definitions $(DATA_DIR)
+
.PHONY: all
-all: clean interface_definitions op_mode_definitions
+all: clean interface_definitions op_mode_definitions component_versions
.PHONY: clean
clean: