diff options
author | cognitiond <118043135+cognitiond@users.noreply.github.com> | 2022-11-17 14:36:13 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-17 15:36:13 +0100 |
commit | 0bbccc31370f6b86e72b26da1afcd6a21e3cc9a8 (patch) | |
tree | 4260769ad3855d2bebcc596951362ebff3d38657 | |
parent | c9faa69a1b5b2f01bb6939d11db7cc43d6ec5552 (diff) |
Build documentation (#1744)
* explain how to pass options to meson
* fix typo in INSTALL.md
-rw-r--r-- | INSTALL.md | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -109,11 +109,15 @@ From this point, use the same steps you use for a release. ## Options for configure When you run the configure step there are several options you can configure. + For Autotools, you can see the full list with `./configure --help`. + For Meson, before the initial setup, you can see rofi options in `meson_options.txt` and Meson options with `meson setup --help`. -After the initial setup, use `meson configure build`. +Meson's built-in options can be set using regular command line arguments, like so: `meson setup build --option=value`. +Rofi-specific options can be set using the `-D` argument, like so: `meson setup build -Doption=value`. +After the build dir is set up by `meson setup build`, the `meson configure build` command can be used to configure options, by the same means. -The most useful one to set the installation prefix: +The most useful one to set is the installation prefix: # Autotools ../configure --prefix=<installation path> |