From 1b6cc36a612f8927a200db1ae9218ac1d1cb09e4 Mon Sep 17 00:00:00 2001 From: Olivier Goffart Date: Tue, 29 May 2018 15:35:19 +0200 Subject: [PATCH] Fix make doc-man in shadow build Issue #6555 --- man/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man/CMakeLists.txt b/man/CMakeLists.txt index f99b0dee6..86782966b 100644 --- a/man/CMakeLists.txt +++ b/man/CMakeLists.txt @@ -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} )