summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorhagbard <vyosdev@derith.de>2018-07-18 10:19:58 -0700
committerhagbard <vyosdev@derith.de>2018-07-20 12:17:28 -0700
commitdc13bec450f18aa5341d92e1358135c9b1e1a7ac (patch)
tree660b2853e7c13aaac45b66f96269d08d678fa1d3 /Makefile
parentd53c4d50e1722a3b5857bd437f5f996b6b9b557f (diff)
downloadvyos-1x-dc13bec450f18aa5341d92e1358135c9b1e1a7ac.tar.gz
vyos-1x-dc13bec450f18aa5341d92e1358135c9b1e1a7ac.zip
Only look for xml files in interface and op template definitions
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 50710af47..7447275ca 100644
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,7 @@ OP_TMPL_DIR := templates-op
interface_definitions:
mkdir -p $(TMPL_DIR)
- find $(CURDIR)/interface-definitions/ -type f | xargs -I {} $(CURDIR)/scripts/build-command-templates {} $(CURDIR)/schema/interface_definition.rng $(TMPL_DIR) || exit 1
+ find $(CURDIR)/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
rm -f $(TMPL_DIR)/system/node.def
@@ -20,7 +20,7 @@ interface_definitions:
op_mode_definitions:
mkdir -p $(OP_TMPL_DIR)
- find $(CURDIR)/op-mode-definitions/ -type f | xargs -I {} $(CURDIR)/scripts/build-command-op-templates {} $(CURDIR)/schema/op-mode-definition.rng $(OP_TMPL_DIR) || exit 1
+ find $(CURDIR)/op-mode-definitions/ -type f -name "*.xml" | xargs -I {} $(CURDIR)/scripts/build-command-op-templates {} $(CURDIR)/schema/op-mode-definition.rng $(OP_TMPL_DIR) || exit 1
# XXX: delete top level op mode node.def's that now live in other packages
rm -f $(OP_TMPL_DIR)/show/node.def