From ceedee078542bac9b5841989ed0dba316a4b087c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20K=C4=99pie=C5=84?= Date: Mon, 22 Mar 2021 09:36:48 +0100 Subject: [PATCH] Install dnstap-read man page conditionally The dnstap-read utility is only built and installed for dnstap-enabled builds. Adjust the relevant Makefile.am file to make sure the dnstap-read.1 man page is also only built and installed for dnstap-enabled builds. --- doc/man/Makefile.am | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/doc/man/Makefile.am b/doc/man/Makefile.am index 19c776ad09..27b53fe751 100644 --- a/doc/man/Makefile.am +++ b/doc/man/Makefile.am @@ -80,7 +80,6 @@ man_MANS = \ ddns-confgen.8 \ delv.1 \ dig.1 \ - dnstap-read.1 \ host.1 \ mdig.1 \ named-rrchecker.1 \ @@ -109,6 +108,11 @@ man_MANS = \ rndc.8 \ tsig-keygen.8 +if HAVE_DNSTAP +man_MANS += \ + dnstap-read.1 +endif HAVE_DNSTAP + if HAVE_PKCS11 man_MANS += \ pkcs11-destroy.1 \