From 2828562047dc57431e8fc142537c3692072f62fa Mon Sep 17 00:00:00 2001 From: =?utf8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Thu, 3 Apr 2025 14:13:28 +0200 Subject: [PATCH] doc: better build parallelism `auto` isn't perfect because of nested parallelism, but I don't see another simple way here, and I hope the potential slight overload will be OK for docs. --- doc/meson.build | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/meson.build b/doc/meson.build index ad6a0f9a9..c03bad3ae 100644 --- a/doc/meson.build +++ b/doc/meson.build @@ -72,14 +72,14 @@ if get_option('doc') == 'enabled' endif -make_doc = find_program('../scripts/meson/make-doc.sh') +make_doc = [find_program('../scripts/meson/make-doc.sh'), '-j', 'auto'] run_target( 'doc', - command: make_doc + command: make_doc, ) run_target( 'doc-strict', - command: [make_doc, '-W'] + command: make_doc + ['-W'] ) -- 2.47.2