diff options
| author | Marvin W <git@larma.de> | 2025-04-12 21:36:31 +0200 |
|---|---|---|
| committer | Marvin W <git@larma.de> | 2025-07-20 19:31:03 +0200 |
| commit | 08865ca4cb2ca32e0090e57d31afbd4c7feee471 (patch) | |
| tree | cc6abcdebb1fc13e07b9fca88c69c876413858e8 /libdino/meson.build | |
| parent | da08d7d824060218fee81427256b346c01ab2daf (diff) | |
Meson: Fix path to version.py in certain build
Diffstat (limited to 'libdino/meson.build')
| -rw-r--r-- | libdino/meson.build | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/libdino/meson.build b/libdino/meson.build index 42910463..aa88e979 100644 --- a/libdino/meson.build +++ b/libdino/meson.build @@ -1,10 +1,11 @@ # version_vala -dot_git = meson.current_source_dir() / '../.git' -version_file = meson.current_source_dir() / '../VERSION' -command = [prog_python, files('version.py'), version_file, '--git-repo', meson.current_source_dir()] +version_py = files('version.py')[0] +command = [prog_python, version_py.full_path(), version_file_path, '--git-repo', meson.current_source_dir()] if prog_git.found() command += ['--git', prog_git] endif +# We add those dummy args to ensure meson sees the dependency +command += ['--', version_py, version_file] version_vala = vcs_tag(command: command, input: 'src/version.vala.in', output: 'version.vala', replace_string: '%VERSION%') # libdino |
