diff options
author | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2020-04-20 21:42:15 +0900 |
---|---|---|
committer | bst-marge-bot <marge-bot@buildstream.build> | 2020-04-21 07:51:33 +0000 |
commit | b3878133f152c5eb361eb2524d8198563ec04c65 (patch) | |
tree | 290a5912536f45c6350dd716e9176554e48f4470 /BuildStream.doap | |
parent | 1e0339d948038cf3bc3b0f3e3ccba383f748ca50 (diff) | |
download | buildstream-b3878133f152c5eb361eb2524d8198563ec04c65.tar.gz |
doc/Makefile: Ensure we error out if bst2html.py fails.
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 'BuildStream.doap')
0 files changed, 0 insertions, 0 deletions