Use the explicit meson "setup" command instead of the deprecated implicit invocation. The implied setup usage generates a warning with meson version 1.0.1: WARNING: Running the setup command as `meson [options]` instead of `meson setup [options]` is ambiguous and deprecated. Additionally the implicit command is likely to be confusing to those unfamiliar with Meson - the `build` argument in `meson build` resembles an action rather than an arbitrary path. Signed-off-by: Tim Small <tim@xxxxxxxxxxx> --- docs/compiling.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/compiling.rst b/docs/compiling.rst index 2a740ad76e..c03238b114 100644 --- a/docs/compiling.rst +++ b/docs/compiling.rst @@ -68,7 +68,7 @@ of the build directory which will be created. :: - $ meson build [options] + $ meson setup build [options] To get the complete list of the options run the following command: @@ -83,7 +83,7 @@ normal OS vendor prefixes, use :: - $ meson build -Dsystem=true + $ meson setup build -Dsystem=true Explicitly enabling required functionality ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -99,7 +99,7 @@ libvirt project with support for the **qemu** driver use the following options: :: - $ meson build -Dsystem=true -Ddriver_qemu=enabled + $ meson setup build -Dsystem=true -Ddriver_qemu=enabled Notes: ~~~~~~ -- 2.39.2