Only include man subdirectory if the DOCUMENTATION option is on
Signed-off-by: Ian Johnson <ijohnson@wolfram.com>
This commit is contained in:
parent
62402f7b60
commit
3163cf2d70
@ -79,6 +79,8 @@ endif (${WITH_SOCKS} STREQUAL ON)
|
|||||||
|
|
||||||
option(WITH_SRV "Include SRV lookup support?" OFF)
|
option(WITH_SRV "Include SRV lookup support?" OFF)
|
||||||
|
|
||||||
|
option(DOCUMENTATION "Build documentation?" ON)
|
||||||
|
|
||||||
# ========================================
|
# ========================================
|
||||||
# Include projects
|
# Include projects
|
||||||
# ========================================
|
# ========================================
|
||||||
@ -86,7 +88,9 @@ option(WITH_SRV "Include SRV lookup support?" OFF)
|
|||||||
add_subdirectory(lib)
|
add_subdirectory(lib)
|
||||||
add_subdirectory(client)
|
add_subdirectory(client)
|
||||||
add_subdirectory(src)
|
add_subdirectory(src)
|
||||||
add_subdirectory(man)
|
if (${DOCUMENTATION} STREQUAL ON)
|
||||||
|
add_subdirectory(man)
|
||||||
|
endif (${DOCUMENTATION} STREQUAL ON)
|
||||||
|
|
||||||
# ========================================
|
# ========================================
|
||||||
# Install config file
|
# Install config file
|
||||||
|
Loading…
Reference in New Issue
Block a user