From b9a796b24a8652de9029b82e974871512e880fad Mon Sep 17 00:00:00 2001 From: Harimbola Santatra Date: Sun, 4 Feb 2024 17:50:36 +0300 Subject: doc: update meson build instruction (#5899) The [official build instruction][1] are deprecated on Meson 1.3.1. These command: mkdir -p build && cd build meson .. ninja ... work but will yield the following warning: > WARNING: Running the setup command as `meson [options]` instead of `meson setup [options]` is ambiguous and deprecated. Here's the correct way, according to the [meson documentation][2]: mkdir -p build meson setup build meson compile -C build meson install -C build [1]: https://i3wm.org/docs/hacking-howto.html#_building_i3 [2]: https://mesonbuild.com/Quick-guide.html#compiling-a-meson-project --- docs/hacking-howto | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/hacking-howto b/docs/hacking-howto index ae48c448..d8c95ca4 100644 --- a/docs/hacking-howto +++ b/docs/hacking-howto @@ -28,9 +28,9 @@ https://mesonbuild.com/[The Meson Build system]; see https://mesonbuild.com/Quick-guide.html#compiling-a-meson-project[Quickstart Guide → Compiling a Meson project]. In case you’re unfamiliar: - $ mkdir -p build && cd build - $ meson .. - $ ninja + mkdir -p build + meson setup build + meson compile -C build === Build system features -- cgit v1.2.3-54-g00ecf