]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Install named-nzd2nzf 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 named-nzd2nzf utility is only built and installed for LMDB-enabled
builds.  Adjust the relevant Makefile.am file to make sure the
named-nzd2nzf.1 man page is also only built and installed for
LMDB-enabled builds.

doc/man/Makefile.am

index 27b53fe751e3ba44b8f992c4fda0e7b895eb2b2c..dd3d0b7a84483a65cfe45a0b4c2f89d904733bc6 100644 (file)
@@ -101,7 +101,6 @@ man_MANS =                          \
        named-checkconf.1               \
        named-checkzone.1               \
        named-journalprint.1            \
-       named-nzd2nzf.1                 \
        named.8                         \
        nsec3hash.1                     \
        rndc-confgen.8                  \
@@ -113,6 +112,11 @@ man_MANS +=                                \
        dnstap-read.1
 endif HAVE_DNSTAP
 
+if HAVE_LMDB
+man_MANS +=                            \
+       named-nzd2nzf.1
+endif HAVE_LMDB
+
 if HAVE_PKCS11
 man_MANS +=                            \
        pkcs11-destroy.1                \