summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorCorentin Noël <corentin.noel@collabora.com>2022-04-08 13:05:08 +0200
committerCorentin Noël <corentin.noel@collabora.com>2022-04-08 14:34:01 +0200
commit8bf5750edf448f113615bab1cff3bdb5ddbb5557 (patch)
tree446bbb00fc5699e6edc2b84dd841735e3db711c1 /docs
parent6b26cb36960fe8c627f0b1e49c07a43c31f0a3b7 (diff)
downloadgcr-8bf5750edf448f113615bab1cff3bdb5ddbb5557.tar.gz
meson: Declare libversion variables and consistently use it
Do not rely on major_version to manually create the library names. Make sure to be consistent and use a single variable for all the library names and folder mentions.
Diffstat (limited to 'docs')
-rw-r--r--docs/gck/meson.build4
-rw-r--r--docs/gcr/meson.build6
-rw-r--r--docs/ui/meson.build6
3 files changed, 8 insertions, 8 deletions
diff --git a/docs/gck/meson.build b/docs/gck/meson.build
index f06381b..ab859d9 100644
--- a/docs/gck/meson.build
+++ b/docs/gck/meson.build
@@ -6,13 +6,13 @@ gck_toml = configure_file(
input: 'gck.toml.in',
output: 'gck.toml',
configuration: {
- 'GCK_VERSION': gck_major_version,
+ 'GCK_VERSION': gck_api_version,
},
)
gck_docs = custom_target('gck-docs',
input: gck_gir[0],
- output: 'gck-@0@'.format(gck_major_version),
+ output: gck_basename,
command: [
gi_docgen,
'generate',
diff --git a/docs/gcr/meson.build b/docs/gcr/meson.build
index cf6532f..d80b7c7 100644
--- a/docs/gcr/meson.build
+++ b/docs/gcr/meson.build
@@ -8,14 +8,14 @@ gcr_base_toml = configure_file(
input: 'gcr-base.toml.in',
output: '@BASENAME@',
configuration: {
- 'GCR_VERSION': gcr_major_version,
- 'GCK_VERSION': gck_major_version,
+ 'GCR_VERSION': gcr_api_version,
+ 'GCK_VERSION': gck_api_version,
},
)
gcr_base_docs = custom_target('gcr-docs',
input: gcr_gir[0],
- output: 'gcr-@0@'.format(gcr_major_version),
+ output: gcr_basename,
command: [
gi_docgen,
'generate',
diff --git a/docs/ui/meson.build b/docs/ui/meson.build
index 49ea4ca..3666f0d 100644
--- a/docs/ui/meson.build
+++ b/docs/ui/meson.build
@@ -6,14 +6,14 @@ gcr_ui_toml = configure_file(
input: 'gcr-ui.toml.in',
output: '@BASENAME@',
configuration: {
- 'GCR_VERSION': gcr_major_version,
- 'GCK_VERSION': gck_major_version,
+ 'GCR_VERSION': gcr_api_version,
+ 'GCK_VERSION': gck_api_version,
},
)
gcr_ui_docs = custom_target('gcr-ui-docs',
input: gcr_ui_gir[0],
- output: 'gcr-ui-@0@'.format(gcr_major_version),
+ output: gcr_ui_basename,
command: [
gi_docgen,
'generate',