summaryrefslogtreecommitdiffstats
path: root/src/hostname
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2023-06-25 09:01:31 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2023-07-31 22:52:50 +0200
commit069e7e04ec3b500d55e0fdce7c009dafe35f6b16 (patch)
tree24ddbdf0ab1c6d8ce78fb8e26013a37042235cd1 /src/hostname
parentmeson: move declarations of several generators (diff)
downloadsystemd-069e7e04ec3b500d55e0fdce7c009dafe35f6b16.tar.xz
systemd-069e7e04ec3b500d55e0fdce7c009dafe35f6b16.zip
meson: move declarations of localed and hostnamed
Diffstat (limited to 'src/hostname')
-rw-r--r--src/hostname/meson.build15
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)