From 98b3314278f581f4ab9b3a5170341bdd7aea3719 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Thu, 4 May 2023 20:35:39 +1000 Subject: README: use meson compile/test over ninja This is backend-agnostic and the recommended way to invoke compilation. This requires meson 0.55 (July 2020) and we only require 0.51 but at this point I'm expecting most users who require the README instructions will have a recent-enough meson anyway. --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 4425578..84bbcaa 100644 --- a/README.md +++ b/README.md @@ -14,8 +14,8 @@ See [Quick Guide](doc/quick-guide.md). libxkbcommon is built with [Meson](http://mesonbuild.com/): meson setup build - ninja -C build - ninja -C build test # Run the tests. + meson compile -C build + meson test -C build # Run the tests. To build for use with Wayland, you can disable X11 support while still using the X11 keyboard configuration resource files thusly: @@ -24,7 +24,7 @@ using the X11 keyboard configuration resource files thusly: -Denable-x11=false \ -Dxkb-config-root=/usr/share/X11/xkb \ -Dx-locale-root=/usr/share/X11/locale - ninja -C build + meson compile -C build ## API -- cgit v1.2.1