From: Tomas Krizek Date: Mon, 4 Mar 2019 14:47:25 +0000 (+0100) Subject: meson: doc/kresd.8 - correctly document keyfile_default X-Git-Tag: v4.0.0~24^2~29 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3313694da04718b57a9e840e514e2bc7a5bc19da;p=thirdparty%2Fknot-resolver.git meson: doc/kresd.8 - correctly document keyfile_default --- diff --git a/doc/kresd.8.in b/doc/kresd.8.in index f39b94968..524c7eacb 100644 --- a/doc/kresd.8.in +++ b/doc/kresd.8.in @@ -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 (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 With this option, the daemon is started in non-interactive mode and instead creates a diff --git a/doc/meson.build b/doc/meson.build index a650d6e9d..8c912829e 100644 --- a/doc/meson.build +++ b/doc/meson.build @@ -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',