diff options
author | Xavier Claessens <xclaessens@netflix.com> | 2024-11-05 15:03:11 -0500 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2024-11-06 14:17:43 +0200 |
commit | bfce1450ac68c1da7151b7ad1943f47bdd31f192 (patch) | |
tree | 06b2250097b2ca488b3a942d6cd5fe88d02e25f7 /test cases/common | |
parent | 41dbfd93e455367993808a5975bc101231ccaa52 (diff) | |
download | meson-bfce1450ac68c1da7151b7ad1943f47bdd31f192.zip meson-bfce1450ac68c1da7151b7ad1943f47bdd31f192.tar.gz meson-bfce1450ac68c1da7151b7ad1943f47bdd31f192.tar.bz2 |
vcs_tag: Add install kwargs
Fixes: #4893
Diffstat (limited to 'test cases/common')
-rw-r--r-- | test cases/common/66 vcstag/meson.build | 4 | ||||
-rw-r--r-- | test cases/common/66 vcstag/test.json | 8 |
2 files changed, 11 insertions, 1 deletions
diff --git a/test cases/common/66 vcstag/meson.build b/test cases/common/66 vcstag/meson.build index 38fa590..53f90d8 100644 --- a/test cases/common/66 vcstag/meson.build +++ b/test cases/common/66 vcstag/meson.build @@ -32,7 +32,9 @@ tagprog = executable('tagprog', 'tagprog.c', version_src) version_src_executable = vcs_tag(input : 'vcstag.c.in', output : 'vcstag-executable.c', -command : [tagprog]) +command : [tagprog], +install: true, +install_dir: get_option('includedir')) executable('tagprog-custom', 'tagprog.c', version_src_custom) executable('tagprog-fallback', 'tagprog.c', version_src_fallback) diff --git a/test cases/common/66 vcstag/test.json b/test cases/common/66 vcstag/test.json new file mode 100644 index 0000000..4c9e3a1 --- /dev/null +++ b/test cases/common/66 vcstag/test.json @@ -0,0 +1,8 @@ +{ + "installed": [ + { + "type": "file", + "file": "usr/include/vcstag-executable.c" + } + ] +} |