Skip to content

Commit

Permalink
doc: expand on the meson build instructions
Browse files Browse the repository at this point in the history
https://bugs.freedesktop.org/show_bug.cgi?id=101686

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit 7b98f8e)
  • Loading branch information
whot committed Jul 10, 2017
1 parent 40439b7 commit b6ce9c0
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions doc/building.dox
Original file line number Diff line number Diff line change
Expand Up @@ -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
$> 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
$> 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
Expand Down

0 comments on commit b6ce9c0

Please sign in to comment.