]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Install dnstap-read man page conditionally
authorMichał Kępień <michal@isc.org>
Mon, 22 Mar 2021 08:36:48 +0000 (09:36 +0100)
committerMichał Kępień <michal@isc.org>
Mon, 22 Mar 2021 08:36:48 +0000 (09:36 +0100)
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

index 19c776ad09fac31d28dc0784dd282b22fbfa0b8e..27b53fe751e3ba44b8f992c4fda0e7b895eb2b2c 100644 (file)
@@ -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                \