summaryrefslogtreecommitdiffstats
path: root/src/timedate/meson.build
blob: 48054bb6041bd055a28049f83d5d4ff7631c9f95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# SPDX-License-Identifier: LGPL-2.1-or-later

executables += [
        libexec_template + {
                'name' : 'systemd-timedated',
                'dbus' : true,
                'conditions' : ['ENABLE_TIMEDATED'],
                'sources' : files('timedated.c'),
        },
        executable_template + {
                'name' : 'timedatectl',
                'public' : true,
                'conditions' : ['ENABLE_TIMEDATECTL'],
                'sources' : files('timedatectl.c'),
                'dependencies' : libm,
        },
]

if conf.get('ENABLE_TIMEDATED') == 1
        install_data('org.freedesktop.timedate1.conf',
                     install_dir : dbuspolicydir)
        install_data('org.freedesktop.timedate1.service',
                     install_dir : dbussystemservicedir)
        install_data('org.freedesktop.timedate1.policy',
                     install_dir : polkitpolicydir)
endif