aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2021-10-03 14:35:30 -0400
committerEli Schwartz <eschwartz@archlinux.org>2021-10-08 14:35:00 -0400
commit108bd996ee72b16c14f0ee0ca86959b142582394 (patch)
tree2cc138363c7139ce3fa2ae918e75ac5b81d19c77 /data
parent54e17ad5975252242712dc3b613bdbd0a2504e23 (diff)
downloadmeson-108bd996ee72b16c14f0ee0ca86959b142582394.zip
meson-108bd996ee72b16c14f0ee0ca86959b142582394.tar.gz
meson-108bd996ee72b16c14f0ee0ca86959b142582394.tar.bz2
add install_emptydir function
This replaces the absolute hack of using ``` install_subdir('nonexisting', install_dir: 'share') ``` which requires you to make sure you don't accidentally or deliberately have a completely different directory with the same name in your source tree that is full of files you don't want installed. It also avoids splitting the name in two and listing them in the wrong order. You can also set the install mode of each directory component by listing them one at a time in order, and in fact create nested structures at all. Fixes #1604 Properly fixes #2904
Diffstat (limited to 'data')
-rw-r--r--data/syntax-highlighting/vim/syntax/meson.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/data/syntax-highlighting/vim/syntax/meson.vim b/data/syntax-highlighting/vim/syntax/meson.vim
index 15f5232..3a6a7de 100644
--- a/data/syntax-highlighting/vim/syntax/meson.vim
+++ b/data/syntax-highlighting/vim/syntax/meson.vim
@@ -97,6 +97,7 @@ syn keyword mesonBuiltin
\ install_headers
\ install_man
\ install_subdir
+ \ install_emptydir
\ is_disabler
\ is_variable
\ jar