From 0bbccc31370f6b86e72b26da1afcd6a21e3cc9a8 Mon Sep 17 00:00:00 2001 From: cognitiond <118043135+cognitiond@users.noreply.github.com> Date: Thu, 17 Nov 2022 14:36:13 +0000 Subject: [PATCH] Build documentation (#1744) * explain how to pass options to meson * fix typo in INSTALL.md --- INSTALL.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 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`. -The most useful one to set the installation prefix: +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`. +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 is the installation prefix: # Autotools ../configure --prefix=