]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
docs: run `meson setup` explicitly in build instructions
authorŠtěpán Balážik <stepan@balazik.cz>
Tue, 6 Dec 2022 14:43:01 +0000 (15:43 +0100)
committerVladimír Čunát <vladimir.cunat@nic.cz>
Wed, 7 Dec 2022 12:02:18 +0000 (13:02 +0100)
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

index b1e39a5c24966f96e7fede3c3ff3f53092148e3e..718d61a036c9f5395cd648afb998c14fc020c6b3 100644 (file)
@@ -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