summaryrefslogtreecommitdiff
path: root/policy/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'policy/meson.build')
-rw-r--r--policy/meson.build15
1 files changed, 15 insertions, 0 deletions
diff --git a/policy/meson.build b/policy/meson.build
new file mode 100644
index 0000000..0c55ae8
--- /dev/null
+++ b/policy/meson.build
@@ -0,0 +1,15 @@
+po_dir = join_paths(meson.source_root(), 'po')
+dataconf = configuration_data()
+dataconf.set('sbindir', matesbindir)
+
+i18n.merge_file(
+ input : configure_file(
+ configuration: dataconf,
+ input : 'org.mate.power.policy.in2',
+ output: 'org.mate.power.policy.in'
+ ),
+ output: 'org.mate.power.policy',
+ po_dir: po_dir,
+ install: true,
+ install_dir: join_paths(get_option('datadir'), 'polkit-1', 'actions'),
+)