summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2020-01-14 09:18:16 -0600
committerGitHub <noreply@github.com>2020-01-14 09:18:16 -0600
commit29e3f990303c6d01c37f4fafc44d0d3cbcd4558e (patch)
tree2828d034d5ae467abbfb155015f40685d2518424 /Makefile
parent91de4ec9d95a6a99df0ad5363633251bcb5f4874 (diff)
parent29e438755c8bd2b9598a2016a3c42891f0cbfa1d (diff)
downloadvyos-1x-29e3f990303c6d01c37f4fafc44d0d3cbcd4558e.tar.gz
vyos-1x-29e3f990303c6d01c37f4fafc44d0d3cbcd4558e.zip
Merge pull request #205 from jestabro/syntax-version
Syntax version
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: