summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorctolentino8 <ctolentino8@bloomberg.net>2019-10-03 15:59:36 +0100
committerctolentino8 <ctolentino8@bloomberg.net>2019-10-07 16:40:48 +0100
commite72a8c2c5baad2d1dd7abbf497d7dac212de32cf (patch)
tree675c0b4f4ce5b2d67b262f82e376e3aecf63860f /doc
parent226e33d5ab1e7381428f80f066b66ed26fe993a5 (diff)
downloadbuildstream-e72a8c2c5baad2d1dd7abbf497d7dac212de32cf.tar.gz
doc/Makefile: exit 1 if running bst command failschiaratolentino/fix-docs
Diffstat (limited to 'doc')
-rw-r--r--doc/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/doc/Makefile b/doc/Makefile
index e837c8167..ba8934bde 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -112,9 +112,7 @@ sessions-prep:
# Specify BST_FORCE_SESSION_REBUILD=1 to force rebuild all session html files.
#
sessions: sessions-prep
- for file in $(wildcard sessions/*.run); do \
- PYTHONPATH=$(PYTHONPATH) $(BST2HTML) $(BST2HTMLOPTS) $$file; \
- done
+ $(foreach file,$(wildcard sessions/*.run),PYTHONPATH=$(PYTHONPATH) $(BST2HTML) $(BST2HTMLOPTS) $(file) ; )
sessions-clean:
rm -rf source/sessions