Make sure the output directory is created before we run asciidoc
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
feb15a5498
commit
9f86468c00
@ -517,11 +517,19 @@ if(NOT insource)
|
||||
ln -s ${CMAKE_SOURCE_DIR}/Documentation/images ${CMAKE_BINARY_DIR}/Documentation/images
|
||||
)
|
||||
endif()
|
||||
else()
|
||||
if(NOT NO_DOCS)
|
||||
add_custom_target(
|
||||
documentationLink ALL
|
||||
)
|
||||
endif()
|
||||
endif()
|
||||
if(NOT NO_DOCS)
|
||||
add_custom_target(
|
||||
documentation ALL
|
||||
COMMAND
|
||||
make -C ${CMAKE_SOURCE_DIR}/Documentation OUT=${CMAKE_BINARY_DIR}/Documentation/ doc
|
||||
DEPENDS documentationLink
|
||||
)
|
||||
endif()
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user