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 \