diff --git a/doc/building.dox b/doc/building.dox index 5ca2de46..0f36eba0 100644 --- a/doc/building.dox +++ b/doc/building.dox @@ -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