summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIñigo Martínez <inigomartinez@gmail.com>2017-11-11 11:38:17 +0100
committerIñigo Martínez <inigomartinez@gmail.com>2017-11-13 09:09:15 +0100
commit5694afe2d3b185b1eee4219f4807049aeb06749f (patch)
tree22d3629363185ea960c847248b7bb7d15a4b0d9a
parentf5f27969325521da80cd6e0f4c62ccbc225fb70c (diff)
downloadgvfs-5694afe2d3b185b1eee4219f4807049aeb06749f.tar.gz
build: Use ITS rules for polkit in meson
In a previous change polkit ITS rules were included to be used when merging translations with gettext. However, the use of this files is missing when using meson. This patch restores the use of those files. https://bugzilla.gnome.org/show_bug.cgi?id=786149
-rw-r--r--daemon/meson.build1
-rw-r--r--meson.build1
2 files changed, 2 insertions, 0 deletions
diff --git a/daemon/meson.build b/daemon/meson.build
index 6dda4d6b..ba3ef52b 100644
--- a/daemon/meson.build
+++ b/daemon/meson.build
@@ -386,6 +386,7 @@ if enable_admin
input: policy_in,
output: policy,
po_dir: po_dir,
+ data_dirs: its_dir,
install: true,
install_dir: join_paths(gvfs_datadir, 'polkit-1', 'actions')
)
diff --git a/meson.build b/meson.build
index e12a4c34..cb40275f 100644
--- a/meson.build
+++ b/meson.build
@@ -481,6 +481,7 @@ pkg = import('pkgconfig')
service_conf = configuration_data()
service_conf.set('libexecdir', gvfs_libexecdir)
+its_dir = join_paths(meson.source_root(), 'gettext')
po_dir = join_paths(meson.source_root(), 'po')
top_inc = include_directories('.')