summaryrefslogtreecommitdiffstats
path: root/meson.build
diff options
context:
space:
mode:
authorTomas Krizek <tomas.krizek@nic.cz>2019-03-04 15:17:48 +0100
committerTomas Krizek <tomas.krizek@nic.cz>2019-03-12 10:44:48 +0100
commitceb1dbd9afd5e91d00aca2ad70b42c376ecef36c (patch)
treee31ffbbcb3b5aab6ab5d82de65fb0b97cb98eb07 /meson.build
parentmeson: doc/kresd.8 - manpage nitpicks (diff)
downloadknot-resolver-ceb1dbd9afd5e91d00aca2ad70b42c376ecef36c.tar.xz
knot-resolver-ceb1dbd9afd5e91d00aca2ad70b42c376ecef36c.zip
meson: rename option sytemd_unit_files to systemd_files
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build10
1 files changed, 5 insertions, 5 deletions
diff --git a/meson.build b/meson.build
index b32cf1fa..87fb993a 100644
--- a/meson.build
+++ b/meson.build
@@ -77,9 +77,9 @@ group = get_option('group')
## Systemd
message('--- systemd socket activation ---')
libsystemd = dependency('libsystemd', version: '>=227', required: false)
-systemd_unit_files = get_option('systemd_unit_files')
-if systemd_unit_files == 'enabled' and not libsystemd.found()
- error('systemd_unit_files=enabled requires libsystemd >= 227')
+systemd_files = get_option('systemd_files')
+if systemd_files == 'enabled' and not libsystemd.found()
+ error('systemd_files=enabled requires libsystemd >= 227')
endif
message('---------------------------')
@@ -162,7 +162,7 @@ subdir('etc')
# Systemd unit files
-if systemd_unit_files != 'disabled'
+if systemd_files != 'disabled'
subdir('systemd')
endif
@@ -253,7 +253,7 @@ message('''
systemd:
socket activation: @0@'''.format(s_systemd_socket) + '''
- unit_files: @0@'''.format(systemd_unit_files) + '''
+ files: @0@'''.format(systemd_files) + '''
work_dir: @0@'''.format(systemd_work_dir) + '''
optional components