]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
meson: doc/kresd.8 - correctly document keyfile_default
authorTomas Krizek <tomas.krizek@nic.cz>
Mon, 4 Mar 2019 14:47:25 +0000 (15:47 +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

index f39b94968a8ed7d875793a4aea63b02d02128123..524c7eacb8cce449b8bac958eb860529fdb92b5c 100644 (file)
@@ -130,11 +130,11 @@ and warning that you need to to check the key before trusting it will be issued.
 
 The file contains DNSKEY/DS records in presentation format,
 and is compatible with Unbound and BIND 9 root key files.
+@man_managed_keyfile_default@
 .TP
 .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@"
+@man_unmanaged_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 a650d6e9d8d8d96dcd5ff96942a60fc4f456883c..8c912829e558d70a79e16a28712a5f790506ea7c 100644 (file)
@@ -13,6 +13,16 @@ elif systemd_files == 'nosocket'
   man_config.set('man_seealso_systemd', '\\fIkresd.systemd.nosocket(7)\\fR, ')
 endif
 
+man_config.set('man_managed_keyfile_default', '')
+man_config.set('man_unmanaged_keyfile_default', '')
+if managed_ta
+  man_config.set('man_managed_keyfile_default', '''
+Default: "@0@"'''.format(keyfile_default))
+else
+  man_config.set('man_unmanaged_keyfile_default', '''
+Default: "@0@"'''.format(keyfile_default))
+endif
+
 man_kresd = configure_file(
   input: 'kresd.8.in',
   output: 'kresd.8',