]> xenbits.xensource.com Git - libvirt.git/commitdiff
docs: Use '--exit-status=' option for 'rst2html5'
authorPeter Krempa <pkrempa@redhat.com>
Thu, 25 May 2023 13:36:28 +0000 (15:36 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 2 Jun 2023 07:39:10 +0000 (09:39 +0200)
Ensure that also 'non-halting' messages stop the build process.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
docs/meson.build

index 2f0ecb227226510095516faf163b908736998ab1..201fd4c984aeef8d5a117f7aa0b39b47d6865453 100644 (file)
@@ -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,
 )