From 4bbac44df9a7515c06ef79195d2183feec1806d0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C5=A0t=C4=9Bp=C3=A1n=20Bal=C3=A1=C5=BEik?= Date: Tue, 6 Dec 2022 15:43:01 +0100 Subject: [PATCH] docs: run `meson setup` explicitly in build instructions This silences the following warning given on newer version of meson: WARNING: Running the setup command as `meson [options]` instead of `meson setup [options]` is ambiguous and deprecated. --- doc/build.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/build.rst b/doc/build.rst index b1e39a5c2..718d61a03 100644 --- a/doc/build.rst +++ b/doc/build.rst @@ -118,7 +118,7 @@ Following example script will: .. code-block:: bash - $ meson build_dir --prefix=/tmp/kr --default-library=static + $ meson setup build_dir --prefix=/tmp/kr --default-library=static $ ninja -C build_dir $ ninja install -C build_dir @@ -181,7 +181,7 @@ target ``doc`` must be called explicitly. .. code-block:: bash - $ meson build_dir -Ddoc=enabled + $ meson configure build_dir -Ddoc=enabled $ ninja -C build_dir doc Tarball -- 2.47.2