]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
meson: doc/kresd.8 - manpage nitpicks
authorTomas Krizek <tomas.krizek@nic.cz>
Mon, 4 Mar 2019 13:42:44 +0000 (14:42 +0100)
committerTomas Krizek <tomas.krizek@nic.cz>
Tue, 12 Mar 2019 09:44:48 +0000 (10:44 +0100)
doc/kresd.8.in
doc/meson.build
meson.build

index c09ae3bc5c4c1364cd2cc005ae2da45b31a57926..f39b94968a8ed7d875793a4aea63b02d02128123 100644 (file)
@@ -134,7 +134,7 @@ and is compatible with Unbound and BIND 9 root key files.
 .B \-K\fI keyfile\fR, \fB\-\-keyfile\-ro=\fI<keyfile>
 (Discouraged) Static root trust anchors file. The file is not updated by kresd. Use of this option is discouraged because it will break your installation when the trust anchor key changes!
 
-Default: "@keyfile_default@" (can be empty if your distribution did not provide one)
+Default: "@keyfile_default@"
 .TP
 .B \-f\fI N\fR, \fB\-\-forks=\fI<N>
 With this option, the daemon is started in non-interactive mode and instead creates a
index 2f49a0f22cf0868004a8dc4a497f1115be4e5890..45143fd0855b9ac8713b4c57b33e36ba6644a78b 100644 (file)
@@ -5,8 +5,13 @@ man_config = configuration_data()
 man_config.set('version', meson.project_version())
 man_config.set('date', run_command('../scripts/get-date.sh').stdout())
 man_config.set('keyfile_default', keyfile_default)
-man_config.set('man_seealso_systemd',
-  libsystemd.found() ? '\\fIkresd.systemd(7)\\fR, ' : '')
+
+man_config.set('man_seealso_systemd', '')
+if systemd_unit_files == 'enabled'
+  man_config.set('man_seealso_systemd', '\\fIkresd.systemd(7)\\fR, ')
+elif systemd_unit_files == 'nosocket'
+  man_config.set('man_seealso_systemd', '\\fIkresd.systemd.nosocket(7)\\fR, ')
+endif
 
 man_kresd = configure_file(
   input: 'kresd.8.in',
index ebae055abfce3c7d5f9178f4ffaa3af041c61aad..b32cf1fabb2c9a458414a9d9b6f9f263cd7e2436 100644 (file)
@@ -166,6 +166,7 @@ if systemd_unit_files != 'disabled'
   subdir('systemd')
 endif
 
+
 # Additional files
 install_data(
   sources: [