README,PACKAGING: use the new meson unified command format

Signed-off-by: Ran Benita <ran234@gmail.com>
master
Ran Benita 2017-12-15 16:17:45 +02:00
parent 5c9042127f
commit 8ce81c0607
2 changed files with 3 additions and 3 deletions

View File

@ -6,7 +6,7 @@ The files for libxkbcommon-x11 are:
xkbcommon-x11.map xkbcommon-x11.pc
libxkbcommon-x11 can be disabled with -Denable-x11=false (see
`mesonconf build` for other options/variables).
`meson configure build` for other options/variables).
Dependencies for libxkbcommon:
- C compiler, meson, pkg-config, libc, bash, grep, sed.

View File

@ -13,13 +13,13 @@ See [Quick Guide](doc/quick-guide.md).
libxkbcommon is built with [Meson](http://mesonbuild.com/):
meson build
meson setup build
ninja -C build
To build for use with Wayland, you can disable X11 support while still
using the X11 keyboard configuration resource files thusly:
meson build \
meson setup build \
-Denable-x11=false \
-Dxkb-config-root=/usr/share/X11/xkb \
-Dx-locale-root=/usr/share/X11/locale