diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2023-06-25 09:01:31 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2023-07-31 22:52:50 +0200 |
commit | 069e7e04ec3b500d55e0fdce7c009dafe35f6b16 (patch) | |
tree | 24ddbdf0ab1c6d8ce78fb8e26013a37042235cd1 /src/hostname | |
parent | meson: move declarations of several generators (diff) | |
download | systemd-069e7e04ec3b500d55e0fdce7c009dafe35f6b16.tar.xz systemd-069e7e04ec3b500d55e0fdce7c009dafe35f6b16.zip |
meson: move declarations of localed and hostnamed
Diffstat (limited to 'src/hostname')
-rw-r--r-- | src/hostname/meson.build | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/hostname/meson.build b/src/hostname/meson.build index 718a7bd4f1..27c9b84209 100644 --- a/src/hostname/meson.build +++ b/src/hostname/meson.build @@ -1,5 +1,20 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +executables += [ + libexec_template + { + 'name' : 'systemd-hostnamed', + 'dbus' : true, + 'conditions' : ['ENABLE_HOSTNAMED'], + 'sources' : files('hostnamed.c'), + }, + executable_template + { + 'name' : 'hostnamectl', + 'public' : true, + 'conditions' : ['ENABLE_HOSTNAMED'], + 'sources' : files('hostnamectl.c'), + }, +] + if conf.get('ENABLE_HOSTNAMED') == 1 install_data('org.freedesktop.hostname1.conf', install_dir : dbuspolicydir) |