diff options
-rw-r--r-- | docs/reference/libmbim-glib/xml/meson.build | 10 | ||||
-rw-r--r-- | meson.build | 3 |
2 files changed, 7 insertions, 6 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) diff --git a/meson.build b/meson.build index 1391c94..ea2c828 100644 --- a/meson.build +++ b/meson.build @@ -13,6 +13,7 @@ project( meson_version: '>= 0.53.0', ) +mbim_name = meson.project_name() mbim_version = meson.project_version() version_array = mbim_version.split('.') mbim_major_version = version_array[0].to_int() @@ -26,7 +27,7 @@ mbim_includedir = get_option('includedir') mbim_libexecdir = get_option('libexecdir') mbim_mandir = get_option('mandir') -mbim_glib_include_subdir = meson.project_name() + '-glib' +mbim_glib_include_subdir = mbim_name + '-glib' mbim_glib_pkgincludedir = join_paths(mbim_includedir, mbim_glib_include_subdir) # libtool versioning for libmbim-glib (-version-info c:r:a) |