summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorIñigo Martínez <inigomartinez@gmail.com>2021-09-10 00:10:46 +0200
committerIñigo Martínez <inigomartinez@gmail.com>2021-09-13 11:05:44 +0200
commit1c9ca122087a6ae805258c38ef632c510de55267 (patch)
treed0a74bf6f50564d2a8820c428a14733b752a98aa /docs
parent44b309f202a0abfad19300f0681faa64ea3124a1 (diff)
downloadlibqmi-1c9ca122087a6ae805258c38ef632c510de55267.tar.gz
build: Create a variable for the project name
A new variable called `qmi_name` has been created to avoid the call to a function inside the meson object.
Diffstat (limited to 'docs')
-rw-r--r--docs/reference/libqmi-glib/xml/meson.build10
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/reference/libqmi-glib/xml/meson.build b/docs/reference/libqmi-glib/xml/meson.build
index 51b44752..16df64cf 100644
--- a/docs/reference/libqmi-glib/xml/meson.build
+++ b/docs/reference/libqmi-glib/xml/meson.build
@@ -2,11 +2,11 @@
# Copyright (C) 2019 - 2021 Iñigo Martinez <inigomartinez@gmail.com>
ent_conf = {
- 'PACKAGE': meson.project_name(),
- 'PACKAGE_BUGREPORT': meson.project_name() + '-devel@lists.freedesktop.org',
- 'PACKAGE_NAME': meson.project_name(),
- 'PACKAGE_STRING': '@0@ @1@'.format(meson.project_name(), qmi_version),
- 'PACKAGE_TARNAME': meson.project_name(),
+ 'PACKAGE': qmi_name,
+ 'PACKAGE_BUGREPORT': qmi_name + '-devel@lists.freedesktop.org',
+ 'PACKAGE_NAME': qmi_name,
+ 'PACKAGE_STRING': '@0@ @1@'.format(qmi_name, qmi_version),
+ 'PACKAGE_TARNAME': qmi_name,
'PACKAGE_URL': '',
'PACKAGE_VERSION': qmi_version,
}