]> git.ipfire.org Git - thirdparty/systemd.git/blame - src/timedate/meson.build
meson: move declarations of timedated and friends
[thirdparty/systemd.git] / src / timedate / meson.build
CommitLineData
db9ecf05 1# SPDX-License-Identifier: LGPL-2.1-or-later
3a726fcd 2
269ab341
YW
3executables += [
4 libexec_template + {
5 'name' : 'systemd-timedated',
6 'dbus' : true,
7 'conditions' : ['ENABLE_TIMEDATED'],
8 'sources' : files('timedated.c'),
9 },
10 executable_template + {
11 'name' : 'timedatectl',
12 'public' : true,
13 'conditions' : ['ENABLE_TIMEDATECTL'],
14 'sources' : files('timedatectl.c'),
15 'dependencies' : libm,
16 },
17]
18
349cc4a5 19if conf.get('ENABLE_TIMEDATED') == 1
37efbbd8
ZJS
20 install_data('org.freedesktop.timedate1.conf',
21 install_dir : dbuspolicydir)
22 install_data('org.freedesktop.timedate1.service',
23 install_dir : dbussystemservicedir)
9b3cff19 24 install_data('org.freedesktop.timedate1.policy',
264d8dcc 25 install_dir : polkitpolicydir)
5c23128d 26endif