build: Avoid warnings or mis-behavior in recent meson versions

In future meson will check the run_command result by default, while it's
fine for us, it would cause our nicer error message not to work.
This commit is contained in:
Marco Trevisan (Treviño) 2022-04-21 16:36:53 +02:00
parent 2accd4ceab
commit 736fcea1d0
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ if get_option('man')
'@INPUT@',
]
testrun = run_command(xsltproc, '--nonet', stylesheet)
testrun = run_command(xsltproc, '--nonet', stylesheet, check: false)
if testrun.returncode() != 0
error('DocBook stylesheet for generating man pages not found, you need to install docbook-xsl-ns or similar package.')