diff options
Diffstat (limited to 'src/timedate/meson.build')
-rw-r--r-- | src/timedate/meson.build | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/timedate/meson.build b/src/timedate/meson.build new file mode 100644 index 0000000..48054bb --- /dev/null +++ b/src/timedate/meson.build @@ -0,0 +1,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 |