From c62d6fa84e87bd2b90130fb6dd4740453c82c100 Mon Sep 17 00:00:00 2001 From: Frederic Martinsons Date: Tue, 27 Dec 2022 09:39:03 +0100 Subject: [PATCH] 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 --- CONTRIBUTING.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 4721d4de5..7dd36152c 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -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