1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2025-02-10 15:44:41 -05:00

Build documentation (#1744)

* explain how to pass options to meson

* fix typo in INSTALL.md
This commit is contained in:
cognitiond 2022-11-17 14:36:13 +00:00 committed by GitHub
parent c9faa69a1b
commit 0bbccc3137
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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=<installation path>