]> git.ipfire.org Git - thirdparty/systemd.git/blob - src/timedate/meson.build
Reapply "network: add "mac" to alternatives name policy by default"
[thirdparty/systemd.git] / src / timedate / meson.build
1 # SPDX-License-Identifier: LGPL-2.1-or-later
2
3 executables += [
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
19 if conf.get('ENABLE_TIMEDATED') == 1
20 install_data('org.freedesktop.timedate1.conf',
21 install_dir : dbuspolicydir)
22 install_data('org.freedesktop.timedate1.service',
23 install_dir : dbussystemservicedir)
24 install_data('org.freedesktop.timedate1.policy',
25 install_dir : polkitpolicydir)
26 endif