meson: add tools/meson.build

Previously, we looked for scripts in the tools/ directory ad hoc,
wherever they were needed. Let's do those checks in one place.
The main meson.build file is shrunk somewhat, which is always nice.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2025-12-01 16:18:11 +01:00
parent 963bebd7b0
commit 322f6adbcd
3 changed files with 47 additions and 47 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ version_h = custom_target('version',
output : 'version.h',
capture : true,
command : [
meson.project_source_root() / 'tools/vcs-tag.sh',
vcs_tag_sh,
'@INPUT@',
get_option('mode'),
vcs_tag ? '1' : '0',