summaryrefslogtreecommitdiff
path: root/docs/markdown/Vala.md
diff options
context:
space:
mode:
authorMichael Hirsch, Ph.D <scivision@users.noreply.github.com>2019-02-13 10:32:27 -0500
committerJussi Pakkanen <jpakkane@gmail.com>2019-05-22 23:56:50 +0300
commit44b6ccbe569ec8125f1e95e43a5c449e77a04344 (patch)
treeec35a5c9756450d30e3a327b795779aec0ca7060 /docs/markdown/Vala.md
parent144e7dcf3bed22f4e6faba8334f3f46eedd420d7 (diff)
downloadmeson-44b6ccbe569ec8125f1e95e43a5c449e77a04344.tar.gz
join_paths => / [skip ci]
Diffstat (limited to 'docs/markdown/Vala.md')
-rw-r--r--docs/markdown/Vala.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/markdown/Vala.md b/docs/markdown/Vala.md
index 9e95851fd..3550fa12e 100644
--- a/docs/markdown/Vala.md
+++ b/docs/markdown/Vala.md
@@ -148,7 +148,7 @@ function:
```meson
project('vala app', 'vala', 'c')
-vapi_dir = join_paths(meson.current_source_dir(), 'vapi')
+vapi_dir = meson.current_source_dir() / 'vapi'
add_project_arguments(['--vapidir', vapi_dir], language: 'vala')
@@ -229,7 +229,7 @@ file and the VAPI is in the `vapi` directory of your project source files:
```meson
project('vala app', 'vala', 'c')
-vapi_dir = join_paths(meson.current_source_dir(), 'vapi')
+vapi_dir = meson.current_source_dir() / 'vapi'
add_project_arguments(['--vapidir', vapi_dir], language: 'vala')
@@ -309,9 +309,9 @@ program and a dependency on the library:
```meson
g_ir_compiler = find_program('g-ir-compiler')
custom_target('foo typelib', command: [g_ir_compiler, '--output', '@OUTPUT@', '@INPUT@'],
- input: join_paths(meson.current_build_dir(), 'Foo-1.0.gir'),
+ input: meson.current_build_dir() / 'Foo-1.0.gir',
output: 'Foo-1.0.typelib',
depends: foo_lib,
install: true,
- install_dir: join_paths(get_option('libdir'), 'girepository-1.0'))
+ install_dir: get_option('libdir') / 'girepository-1.0')
```