diff options
| author | Paul Caprioli <paul@hpkfft.com> | 2025-03-25 20:49:27 -0700 |
|---|---|---|
| committer | Eli Schwartz <eschwartz93@gmail.com> | 2025-03-26 00:08:42 -0400 |
| commit | 1447fff171a5f6e76f9b56504f4f983a152eda79 (patch) | |
| tree | 919f314bdbcf3e007d44d7cfc2f9755824e8db10 | |
| parent | cfb5a48e075ad0da9341b35b24872634784fccf8 (diff) | |
| download | meson-1447fff171a5f6e76f9b56504f4f983a152eda79.tar.gz | |
docs: Clarify string building with absolute paths
| -rw-r--r-- | docs/markdown/Syntax.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/markdown/Syntax.md b/docs/markdown/Syntax.md index 59ec5f7ba..05f503880 100644 --- a/docs/markdown/Syntax.md +++ b/docs/markdown/Syntax.md @@ -150,6 +150,8 @@ combined = str1 + '_' + str2 # combined is now abc_xyz You can concatenate any two strings using `/` as an operator to build paths. This will always use `/` as the path separator on all platforms. +If any one of the individual segments is an absolute path, all segments before +it are dropped. For example: ```meson joined = '/usr/share' / 'projectname' # => /usr/share/projectname |
