summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2020-09-10 10:12:22 +0200
committerraveit65 <[email protected]>2020-09-10 10:12:22 +0200
commit62179bbf99c742ac52112ec2aa656de5ac8f6d13 (patch)
tree26e6652e420f79d209dbe1e0fee75e7780a3d42b /data
parent71da80893ef9e1d07abdce5fe0275652a4f58a47 (diff)
downloadmate-power-manager-62179bbf99c742ac52112ec2aa656de5ac8f6d13.tar.bz2
mate-power-manager-62179bbf99c742ac52112ec2aa656de5ac8f6d13.tar.xz
Revert "Meson Project: some optimizations"
This reverts commit c0c36501cfeadc0f526610891b6dd257ce3c8229.
Diffstat (limited to 'data')
-rw-r--r--data/meson.build19
1 files changed, 13 insertions, 6 deletions
diff --git a/data/meson.build b/data/meson.build
index 627f46d..ad34149 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -1,22 +1,28 @@
-common_desktop_data = configuration_data()
-common_desktop_data.set('VERSION', meson.project_version())
+preferences_desktop_data = configuration_data()
+preferences_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: common_desktop_data
+ configuration: preferences_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: common_desktop_data
+ configuration: statistics_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: common_desktop_data
+ configuration: mpm_autostart_data
)
mpm_service_data = configuration_data()
@@ -75,7 +81,8 @@ install_man(
'mate-power-backlight-helper.1',
'mate-power-statistics.1',
'mate-power-preferences.1'
- ]
+ ],
+ install_dir: mandir_path
)
install_data(