mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-01-02 00:30:10 +01:00
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:
parent
c6e0c96e74
commit
7b98f8ef47
1 changed files with 18 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue