Fix make doc-man in shadow build

Issue #6555
This commit is contained in:
Olivier Goffart 2018-05-29 15:35:19 +02:00 committed by Camila San
parent e82fdee90c
commit 1b6cc36a61
No known key found for this signature in database
GPG key ID: 7A4A6121E88E2AD4

View file

@ -7,7 +7,7 @@ if(SPHINX_FOUND)
set(SPHINX_MAN_DIR "${CMAKE_CURRENT_BINARY_DIR}/man1")
install(DIRECTORY ${SPHINX_MAN_DIR} DESTINATION ${CMAKE_INSTALL_MANDIR} OPTIONAL)
add_custom_target( doc-man ${SPHINX_EXECUTABLE}
-c ${CMAKE_SOURCE_DIR}/doc -b man
-c ${CMAKE_BINARY_DIR}/doc -b man
-d ${SPHINX_CACHE_DIR}/man
${CMAKE_CURRENT_SOURCE_DIR}
${SPHINX_MAN_DIR} )