doc: expand on the meson build instructions

https://bugs.freedesktop.org/show_bug.cgi?id=101686

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2017-07-05 09:39:29 +10:00
parent c6e0c96e74
commit 7b98f8ef47

View file

@ -26,15 +26,29 @@ $> sudo ninja -C builddir/ install
$> sudo udevadm hwdb --update
@endcode
The ```prefix``` option or other options can be changed later with the
```mesonconf``` command.
Additional options may also be specified. For example:
@code
$> mesonconf builddir/ -Dprefix=/some/other/prefix
$> meson --prefix=/usr -Ddocumentation=false -Dlibwacom=false builddir/
@endcode
The ```prefix``` or other options can be changed later with the
```mesonconf``` command. For example:
@code
$> mesonconf builddir/ -Dprefix=/some/other/prefix -Ddocumentation=true
$> ninja -C builddir
$> sudo ninja -C builddir/ install
@endcode
Running ``mesonconf builddir/`` with no other arguments lists all
configurable options meson provides.
To rebuild from scratch, simply remove the build directory and run meson
again:
@code
$> rm -r builddir/
$> meson --prefix=....
@endcode
@subsection building_autotools Building with automake
libinput currently also provides the autotools build system, but this will