Only build man pages if CLI programs are being built.

This commit is contained in:
Ryan Curtin
2018-06-05 11:32:53 -04:00
parent 9d1f364cc4
commit 1d526141ac
+1 -1
View File
@@ -479,7 +479,7 @@ endif ()
# Make a target to generate the man page documentation, but only if we are on a
# UNIX-like system.
if (UNIX)
if (BUILD_CLI_EXECUTABLES AND UNIX)
find_program(TXT2MAN txt2man)
# It's not a requirement that we make man pages.