summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 84839ce3..38448f39 100644
--- a/Makefile
+++ b/Makefile
@@ -7,6 +7,7 @@ all:
.PHONY: prepare
prepare:
+ @set -e
@echo "Starting VyOS ISO image build"
@scripts/check-build-env
@@ -23,6 +24,7 @@ prepare:
.PHONY: iso
.ONESHELL:
iso: prepare
+ @set -e
@echo "It's not like I'm building this specially for you or anything!"
cd $(build_dir)
lb build 2>&1 | tee build.log
@@ -30,12 +32,14 @@ iso: prepare
.PHONY: prepare-package-env
.ONESHELL:
prepare-package-env:
+ @set -e
@scripts/pbuilder-config
@scripts/pbuilder-setup
.PHONY: clean
.ONESHELL:
clean:
+ @set -e
cd $(build_dir)
lb clean