Correct meson command examples

The change directory option must be after subcommand.
Moreover use directly build directory (which is default showing
in 'Building from Source' section)
The install command must specify the build directory

Signed-off-by: Frederic Martinsons <frederic.martinsons@unabiz.com>
This commit is contained in:
Frederic Martinsons 2022-12-27 09:39:03 +01:00 committed by Thomas Haller
parent bf34212345
commit c62d6fa84e
No known key found for this signature in database
GPG key ID: 29C2366E4DFC5728

View file

@ -154,7 +154,7 @@ and for meson it's
```
meson build $CONFIGURE_OPTIONS
ninja -C build
# optional: sudo meson install
# optional: sudo meson install -C build
```
Beware to set the correct `$CONFIGURE_OPTIONS`. In particular, you may
@ -177,7 +177,7 @@ Unit Tests
----------
We have plenty of unit tests. Run them with `make check` or
`meson -C "$BUILD_DIR" test`.
`meson test -C build`.
Note that some files in the source tree are both generated and commited
to git. That means, certain changes to the code also affect these generated