Ensure that also 'non-halting' messages stop the build process.
Signed-off-by: Peter Krempa <pkrempa(a)redhat.com>
---
docs/meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/meson.build b/docs/meson.build
index 2f0ecb2272..201fd4c984 100644
--- a/docs/meson.build
+++ b/docs/meson.build
@@ -210,7 +210,7 @@ endif
docs_rst2html5_gen = generator(
rst2html5_prog,
output: '@BASENAME@.html.in',
- arguments: [ '--stylesheet=', '--strict', '@INPUT@' ],
+ arguments: [ '--exit-status=1', '--stylesheet=', '--strict',
'@INPUT@' ],
capture: true,
)
--
2.40.1