Re-enable reporting git version in Meson dev builds.
This commit is contained in:
parent
c30b7a0ff9
commit
e8e7139629
1 changed files with 17 additions and 5 deletions
|
|
@ -1,9 +1,21 @@
|
||||||
# Version
|
# Version
|
||||||
geary_version_vala = configure_file(
|
|
||||||
input: 'geary-version.vala.in',
|
if meson.project_version().endswith('-dev')
|
||||||
output: 'geary-version.vala',
|
# Development build
|
||||||
configuration: conf,
|
geary_version_vala = vcs_tag(
|
||||||
)
|
command: '../build-aux/git_version.py',
|
||||||
|
input: 'geary-version.vala.in',
|
||||||
|
output: 'geary-version.vala',
|
||||||
|
replace_string: '@VERSION@'
|
||||||
|
)
|
||||||
|
else
|
||||||
|
# Release build
|
||||||
|
geary_version_vala = configure_file(
|
||||||
|
input: 'geary-version.vala.in',
|
||||||
|
output: 'geary-version.vala',
|
||||||
|
configuration: conf,
|
||||||
|
)
|
||||||
|
endif
|
||||||
|
|
||||||
# Common vala options
|
# Common vala options
|
||||||
geary_vala_options = [
|
geary_vala_options = [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue