summaryrefslogtreecommitdiff
path: root/src/hostname/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'src/hostname/meson.build')
-rw-r--r--src/hostname/meson.build16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/hostname/meson.build b/src/hostname/meson.build
new file mode 100644
index 0000000000..43a035c0bf
--- /dev/null
+++ b/src/hostname/meson.build
@@ -0,0 +1,16 @@
+# -*- mode: meson -*-
+
+install_data('org.freedesktop.hostname1.conf',
+ install_dir : dbuspolicydir)
+install_data('org.freedesktop.hostname1.service',
+ install_dir : dbussystemservicedir)
+
+if conf.get('ENABLE_HOSTNAMED', 0) == 1
+ custom_target(
+ 'org.freedesktop.hostname1.policy',
+ input : 'org.freedesktop.hostname1.policy.in',
+ output : 'org.freedesktop.hostname1.policy',
+ command : intltool_command,
+ install : true,
+ install_dir : polkitpolicydir)
+endif