diff options
author | Iñigo Martínez <inigomartinez@gmail.com> | 2021-09-10 15:02:37 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2021-09-13 09:35:08 +0200 |
commit | 2e6edfc1ef58003fba2bc771dc7f82e6421566c4 (patch) | |
tree | 97c640380a9bb03ced083ed9ce41628aefcc627c /docs/reference | |
parent | 28dc34931780e206342be576f3f6745428b6dc08 (diff) |
build: Create a variable for the project name
A new variable called `mbim_name` has been created to avoid the call
to a function inside the meson object.
Diffstat (limited to 'docs/reference')
-rw-r--r-- | docs/reference/libmbim-glib/xml/meson.build | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/reference/libmbim-glib/xml/meson.build b/docs/reference/libmbim-glib/xml/meson.build index 40d4a8d..9a6e60a 100644 --- a/docs/reference/libmbim-glib/xml/meson.build +++ b/docs/reference/libmbim-glib/xml/meson.build @@ -2,11 +2,11 @@ # Copyright (C) 2021 Iñigo Martinez <inigomartinez@gmail.com> ent_conf = configuration_data() -ent_conf.set('PACKAGE', meson.project_name()) -ent_conf.set('PACKAGE_BUGREPORT', meson.project_name() + '-devel@lists.freedesktop.org') -ent_conf.set('PACKAGE_NAME', meson.project_name()) -ent_conf.set('PACKAGE_STRING', '@0@ @1@'.format(meson.project_name(), mbim_version)) -ent_conf.set('PACKAGE_TARNAME', meson.project_name()) +ent_conf.set('PACKAGE', mbim_name) +ent_conf.set('PACKAGE_BUGREPORT', mbim_name + '-devel@lists.freedesktop.org') +ent_conf.set('PACKAGE_NAME', mbim_name) +ent_conf.set('PACKAGE_STRING', '@0@ @1@'.format(mbim_name, mbim_version)) +ent_conf.set('PACKAGE_TARNAME', mbim_name) ent_conf.set('PACKAGE_URL', '') ent_conf.set('PACKAGE_VERSION', mbim_version) |