summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcognitiond <118043135+cognitiond@users.noreply.github.com>2022-11-17 14:36:13 +0000
committerGitHub <noreply@github.com>2022-11-17 15:36:13 +0100
commit0bbccc31370f6b86e72b26da1afcd6a21e3cc9a8 (patch)
tree4260769ad3855d2bebcc596951362ebff3d38657
parentc9faa69a1b5b2f01bb6939d11db7cc43d6ec5552 (diff)
Build documentation (#1744)
* explain how to pass options to meson * fix typo in INSTALL.md
-rw-r--r--INSTALL.md8
1 files changed, 6 insertions, 2 deletions
diff --git a/INSTALL.md b/INSTALL.md
index dd7a5401..aff74e02 100644
--- a/INSTALL.md
+++ b/INSTALL.md
@@ -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>