summaryrefslogtreecommitdiffstats
path: root/src/locale/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'src/locale/meson.build')
-rw-r--r--src/locale/meson.build10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/locale/meson.build b/src/locale/meson.build
index dca2c51d2f..30882cc027 100644
--- a/src/locale/meson.build
+++ b/src/locale/meson.build
@@ -29,14 +29,12 @@ if conf.get('ENABLE_LOCALED') == 1
install_data('org.freedesktop.locale1.service',
install_dir : dbussystemservicedir)
- i18n.merge_file(
- 'org.freedesktop.locale1.policy',
+ policy = configure_file(
input : 'org.freedesktop.locale1.policy.in',
output : 'org.freedesktop.locale1.policy',
- po_dir : po_dir,
- data_dirs : po_dir,
- install : install_polkit,
- install_dir : polkitpolicydir)
+ configuration : substs)
+ install_data(policy,
+ install_dir : polkitpolicydir)
endif
# If you know a way that allows the same variables to be used