diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2018-01-02 18:56:03 +0530 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2018-01-02 19:01:34 +0530 |
commit | 2d08c190d0b5fba16c2034f63369a345bbaa5f35 (patch) | |
tree | 5e03b3de62effbc7aecaf72e1b4fd7ff3a9e7841 /docs | |
parent | d4985d981fea5ec026745efb41be88f25d41bb32 (diff) | |
download | meson-2d08c190d0b5fba16c2034f63369a345bbaa5f35.zip meson-2d08c190d0b5fba16c2034f63369a345bbaa5f35.tar.gz meson-2d08c190d0b5fba16c2034f63369a345bbaa5f35.tar.bz2 |
docs: get_option returns relative paths for xxxdir options
[skip ci]
Diffstat (limited to 'docs')
-rw-r--r-- | docs/markdown/Reference-manual.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/markdown/Reference-manual.md b/docs/markdown/Reference-manual.md index 14c931d..e30b79c 100644 --- a/docs/markdown/Reference-manual.md +++ b/docs/markdown/Reference-manual.md @@ -606,6 +606,11 @@ installed, and so on, use a [`custom_target`](#custom_target) instead. Obtains the value of the [project build option](Build-options.md) specified in the positional argument. +Note that the value returned for built-in options that end in `dir` such as +`bindir` and `libdir` is always a path relative to (and inside) the `prefix`. +The only exceptions are: `sysconfdir`, `localstatedir`, and `sharedstatedir` +which will return the value passed during configuration as-is. + ### get_variable() ``` meson |