From: Vladimír Čunát Date: Thu, 3 Apr 2025 12:13:28 +0000 (+0200) Subject: doc: better build parallelism X-Git-Tag: v6.0.13~7^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2828562047dc57431e8fc142537c3692072f62fa;p=thirdparty%2Fknot-resolver.git 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. --- 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'] )