diff options
author | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2020-04-20 21:42:15 +0900 |
---|---|---|
committer | Tristan Van Berkom <tristan.van.berkom@gmail.com> | 2020-04-20 15:36:59 +0000 |
commit | 6160ab81256faf854c633413a28c4893fe6a3902 (patch) | |
tree | a64f01cb437fb84798c5501a5b64f8809aad285b /setup.cfg | |
parent | e30c18f820bb59d174f2424b7723f2f100a40cba (diff) | |
download | buildstream-tristan/fix-doc-builds.tar.gz |
doc/Makefile: Ensure we error out if bst2html.py fails.tristan/fix-doc-builds
The way we were using $(foreach ...) here from GNU Make was causing
errors to be ignored, this should really only be used for collecting
target names and such.
In this commit, we instead:
* Collect the SESSION_FILES using $(wildcard ...)
* Use a "%.run:" Rule to run bst2html.py for each session file
separately, ensuring that we bail out the build if the session
generation fails.
* Having the SESSION_FILES depend on the phony target sessions-prep,
ensures that this rule will be called unconditionally, regardless
of the existance of the .run files.
Diffstat (limited to 'setup.cfg')
0 files changed, 0 insertions, 0 deletions