[gnome-characters] build: Reuse characters name variable
- From: Daiki Ueno <dueno src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-characters] build: Reuse characters name variable
- Date: Wed, 7 Mar 2018 13:46:31 +0000 (UTC)
commit c99365e0a2a4924d1a513228bf6e44c22a96e229
Author: Iñigo Martínez <inigomartinez gmail com>
Date: Wed Mar 7 10:39:12 2018 +0100
build: Reuse characters name variable
gnome-characters uses an input file as a template to generate a
service file that has two tags for `PACKAGE_NAME` and `pkgdatadir`.
The `PACKAGE_NAME` tag should be replace with the project name, so
meson's build file uses the `project_name` function to access it.
However, there is already a variable to access faster to this value
and to maintain it consistently among every use of it.
This has been changed so `PACKAGE_NAME` also uses that variable.
data/meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/data/meson.build b/data/meson.build
index d399182..2c09851 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -67,7 +67,7 @@ i18n.merge_file(
)
service_conf = configuration_data()
-service_conf.set('PACKAGE_NAME', meson.project_name())
+service_conf.set('PACKAGE_NAME', characters_name)
service_conf.set('pkgdatadir', characters_pkgdatadir)
services = [
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]