diff options
author | Harimbola Santatra <razafindratsimba34@gmail.com> | 2024-02-04 17:50:36 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-04 15:50:36 +0100 |
commit | b9a796b24a8652de9029b82e974871512e880fad (patch) | |
tree | 0f8247755327f4891f438536d2d2bb926d1708ac | |
parent | f8befe378ab3c9f8d035657ca0247c9b8c242b6b (diff) | |
download | i3-b9a796b24a8652de9029b82e974871512e880fad.tar.gz i3-b9a796b24a8652de9029b82e974871512e880fad.zip |
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
-rw-r--r-- | docs/hacking-howto | 6 |
1 files 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 |