diff options
author | Michael Hirsch, Ph.D <scivision@users.noreply.github.com> | 2019-02-13 10:32:27 -0500 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2019-05-22 23:56:50 +0300 |
commit | 44b6ccbe569ec8125f1e95e43a5c449e77a04344 (patch) | |
tree | ec35a5c9756450d30e3a327b795779aec0ca7060 /docs/markdown/Reference-manual.md | |
parent | 144e7dcf3bed22f4e6faba8334f3f46eedd420d7 (diff) | |
download | meson-44b6ccbe569ec8125f1e95e43a5c449e77a04344.zip meson-44b6ccbe569ec8125f1e95e43a5c449e77a04344.tar.gz meson-44b6ccbe569ec8125f1e95e43a5c449e77a04344.tar.bz2 |
join_paths => / [skip ci]
Diffstat (limited to 'docs/markdown/Reference-manual.md')
-rw-r--r-- | docs/markdown/Reference-manual.md | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/docs/markdown/Reference-manual.md b/docs/markdown/Reference-manual.md index 477790b..9484c28 100644 --- a/docs/markdown/Reference-manual.md +++ b/docs/markdown/Reference-manual.md @@ -568,7 +568,7 @@ be passed to [shared and static libraries](#library). - `install_dir` override install directory for this file. The value is relative to the `prefix` specified. F.ex, if you want to install plugins into a subdir, you'd use something like this: `install_dir : - join_paths(get_option('libdir'), 'projectname-1.0'`). + get_option('libdir') / 'projectname-1.0'`. - `install_mode` *(added 0.47.0)* specify the file mode in symbolic format and optionally the owner/uid and group/gid for the installed files. - `install_rpath` a string to set the target's rpath to after install @@ -780,8 +780,7 @@ The only exceptions are: `sysconfdir`, `localstatedir`, and configuration as-is, which may be absolute, or relative to `prefix`. [`install_dir` arguments](Installing.md) handles that as expected, but if you need the absolute path to one of these e.g. to use in a define -etc., you should use `join_paths(get_option('prefix'), -get_option('localstatedir'))` +etc., you should use `get_option('prefix') / get_option('localstatedir')` For options of type `feature` a special object is returned instead of a string. See [`feature` options](Build-options.md#features) |