Make build files compatible with muon
[tinc] / src / include / meson.build
index 0550996..c192f18 100644 (file)
@@ -1,8 +1,7 @@
 configure_file(output: 'config.h', configuration: cdata)
 
 src_lib_common += vcs_tag(
-  command: ['git', 'describe', '--always', '--tags', '--match=release-*'],
-  fallback: 'unknown',
+  command: [python_path, src_root / 'version.py'],
   input: '../version_git.h.in',
   output: 'version_git.h',
 )