From: Štěpán Balážik Date: Tue, 6 Dec 2022 14:43:01 +0000 (+0100) Subject: docs: run `meson setup` explicitly in build instructions X-Git-Tag: v5.6.0~7^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4bbac44df9a7515c06ef79195d2183feec1806d0;p=thirdparty%2Fknot-resolver.git 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. --- 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