summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorVictor A. Santos <[email protected]>2020-04-21 12:11:18 -0300
committerraveit65 <[email protected]>2020-09-03 13:19:56 +0200
commitc0c36501cfeadc0f526610891b6dd257ce3c8229 (patch)
treeec92f109bdcc97ccc1cdc9e725645341192c9180 /data
parent69870bbbbebbd7ecc113b80da96d6dc5d29ee467 (diff)
downloadmate-power-manager-c0c36501cfeadc0f526610891b6dd257ce3c8229.tar.bz2
mate-power-manager-c0c36501cfeadc0f526610891b6dd257ce3c8229.tar.xz
Meson Project: some optimizations
* data/meson.build: remove redundant configuration data * meson_options.txt: use `deprecated` as option name to match Gnome Guidelines.
Diffstat (limited to 'data')
-rw-r--r--data/meson.build19
1 files changed, 6 insertions, 13 deletions
diff --git a/data/meson.build b/data/meson.build
index ad34149..627f46d 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -1,28 +1,22 @@
-preferences_desktop_data = configuration_data()
-preferences_desktop_data.set('VERSION', meson.project_version())
+common_desktop_data = configuration_data()
+common_desktop_data.set('VERSION', meson.project_version())
preferences_desktop = configure_file(
input: 'mate-power-preferences.desktop.in.in',
output: 'mate-power-preferences.desktop.in',
- configuration: preferences_desktop_data
+ configuration: common_desktop_data
)
-statistics_desktop_data = configuration_data()
-statistics_desktop_data.set('VERSION', meson.project_version())
-
statistics_desktop = configure_file(
input: 'mate-power-statistics.desktop.in.in',
output: 'mate-power-statistics.desktop.in',
- configuration: statistics_desktop_data
+ configuration: common_desktop_data
)
-mpm_autostart_data = configuration_data()
-mpm_autostart_data.set('VERSION', meson.project_version())
-
mpm_autostart = configure_file(
input: 'mate-power-manager.desktop.in.in',
output: 'mate-power-manager.desktop.in',
- configuration: mpm_autostart_data
+ configuration: common_desktop_data
)
mpm_service_data = configuration_data()
@@ -81,8 +75,7 @@ install_man(
'mate-power-backlight-helper.1',
'mate-power-statistics.1',
'mate-power-preferences.1'
- ],
- install_dir: mandir_path
+ ]
)
install_data(