aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/Installing.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/markdown/Installing.md')
-rw-r--r--docs/markdown/Installing.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/markdown/Installing.md b/docs/markdown/Installing.md
index 1aa444a..66d090d 100644
--- a/docs/markdown/Installing.md
+++ b/docs/markdown/Installing.md
@@ -27,7 +27,8 @@ Other install commands are the following.
```meson
install_headers('header.h', subdir : 'projname') # -> include/projname/header.h
install_man('foo.1') # -> share/man/man1/foo.1
-install_data('datafile.dat', install_dir : join_paths(get_option('datadir'), 'progname')) # -> share/progname/datafile.dat
+install_data('datafile.dat', install_dir : get_option('datadir') / 'progname')
+# -> share/progname/datafile.dat
```
`install_data()` supports rename of the file *since 0.46.0*.