diff options
author | Daniil Baturin <daniil@baturin.org> | 2018-05-18 16:54:43 +0200 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2018-05-18 16:54:43 +0200 |
commit | 5ffc6bb5c20651bf16cec86433e2470014fbb823 (patch) | |
tree | 93bf0ad410e61b09c11a3d995e4b5ac9a0b6c647 /Makefile | |
parent | 7c787a838fcc3b05f1cdc00fd128b661ae44cd33 (diff) | |
download | vyos-1x-5ffc6bb5c20651bf16cec86433e2470014fbb823.tar.gz vyos-1x-5ffc6bb5c20651bf16cec86433e2470014fbb823.zip |
Make makefile targets for building command definitions fail properly unless all definitions are processed successfully.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) + find $(CURDIR)/interface-definitions/ -type f | 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 @@ -19,7 +19,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) + 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 # XXX: delete top level op mode node.def's that now live in other packages rm -f $(OP_TMPL_DIR)/show/node.def |