diff options
author | Gunnar Hjalmarsson <gunnarhj@ubuntu.com> | 2018-02-15 21:21:58 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2018-02-16 13:00:52 +0100 |
commit | 264d8dcc161e276d31dcde98a088d15cebbebbef (patch) | |
tree | fb0e300bf8348544b0e8a178c6d028a323f8d13d /src/core/meson.build | |
parent | 730f40eb5789efe59cf105e898297d188cd0588b (diff) | |
download | systemd-264d8dcc161e276d31dcde98a088d15cebbebbef.tar.gz |
Gettextize policy files
* Don't merge translations into the files
* Add gettext-domain="systemd" to description and message
Closes #8162, replaces #8118.
Diffstat (limited to 'src/core/meson.build')
-rw-r--r-- | src/core/meson.build | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/src/core/meson.build b/src/core/meson.build index bc034082a5..c58893b7cb 100644 --- a/src/core/meson.build +++ b/src/core/meson.build @@ -211,19 +211,12 @@ install_data('org.freedesktop.systemd1.conf', install_data('org.freedesktop.systemd1.service', install_dir : dbussystemservicedir) -policy_in = configure_file( +policy = configure_file( input : 'org.freedesktop.systemd1.policy.in.in', - output : 'org.freedesktop.systemd1.policy.in', - configuration : substs) - -i18n.merge_file( - 'org.freedesktop.systemd1.policy', - input : policy_in, output : 'org.freedesktop.systemd1.policy', - po_dir : po_dir, - data_dirs : po_dir, - install : install_polkit, - install_dir : polkitpolicydir) + configuration : substs) +install_data(policy, + install_dir : polkitpolicydir) install_data('system.conf', 'user.conf', |