[totem/wip/hadess/42.beta: 1/3] docs: Don't reconstruct the version from its elements
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem/wip/hadess/42.beta: 1/3] docs: Don't reconstruct the version from its elements
- Date: Thu, 24 Feb 2022 22:56:10 +0000 (UTC)
commit 42719d24ca2fe8a376682333c875251a3eae3232
Author: Bastien Nocera <hadess hadess net>
Date: Thu Feb 24 23:54:53 2022 +0100
docs: Don't reconstruct the version from its elements
Use the version instead...
docs/reference/meson.build | 5 +----
docs/reference/version.xml.in | 2 +-
2 files changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/docs/reference/meson.build b/docs/reference/meson.build
index 0aab998d7..2f1f8b410 100644
--- a/docs/reference/meson.build
+++ b/docs/reference/meson.build
@@ -34,10 +34,7 @@ private_headers = [
]
version_conf = configuration_data()
-version_conf.set('TOTEM_VERSION_MAJOR', totem_major_version)
-version_conf.set('TOTEM_VERSION_MINOR', totem_minor_version)
-version_conf.set('TOTEM_VERSION_MICRO', totem_micro_version)
-
+version_conf.set('VERSION', totem_version)
version_xml = 'version.xml'
configure_file(
diff --git a/docs/reference/version.xml.in b/docs/reference/version.xml.in
index a5a3d947b..d78bda934 100644
--- a/docs/reference/version.xml.in
+++ b/docs/reference/version.xml.in
@@ -1 +1 @@
-@TOTEM_VERSION_MAJOR@.@TOTEM_VERSION_MINOR@.@TOTEM_VERSION_MICRO@
+@VERSION@
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]