From 736fcea1d0377e6082e7cf738c3cd7cd42b3c1a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= Date: Thu, 21 Apr 2022 16:36:53 +0200 Subject: [PATCH] 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. --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 088b7ed..a803f0d 100644 --- a/meson.build +++ b/meson.build @@ -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.')