mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-28 03:49:20 +03:00
Merge pull request #783 from nextcloud/doc/cmake-build
Fix cmake build of documentation
This commit is contained in:
commit
aee0363876
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