summaryrefslogtreecommitdiff
path: root/src/hostname/meson.build
blob: 6985a41910a8893ef5fa18b9588405fc8fdec143 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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 : install_polkit,
    install_dir : polkitpolicydir)
endif