mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-21 20:45:51 +03:00
Fix cmake build of documentation
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
parent
6dae188ed9
commit
abac2c327e
1 changed files with 2 additions and 0 deletions
|
@ -16,6 +16,8 @@ if(SPHINX_FOUND)
|
||||||
install(DIRECTORY ${SPHINX_PDF_DIR} DESTINATION ${APPLICATION_DOC_DIR} OPTIONAL)
|
install(DIRECTORY ${SPHINX_PDF_DIR} DESTINATION ${APPLICATION_DOC_DIR} OPTIONAL)
|
||||||
install(DIRECTORY ${SPHINX_QCH_DIR} DESTINATION ${APPLICATION_DOC_DIR} OPTIONAL)
|
install(DIRECTORY ${SPHINX_QCH_DIR} DESTINATION ${APPLICATION_DOC_DIR} OPTIONAL)
|
||||||
|
|
||||||
|
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/conf.py" conf.py COPYONLY)
|
||||||
|
|
||||||
if(WITH_DOC)
|
if(WITH_DOC)
|
||||||
add_custom_target(doc ALL DEPENDS doc-html COMMENT "Building documentation...")
|
add_custom_target(doc ALL DEPENDS doc-html COMMENT "Building documentation...")
|
||||||
else(WITH_DOC)
|
else(WITH_DOC)
|
||||||
|
|
Loading…
Reference in a new issue