Add deploy-docs target.
This commit is contained in:
parent
59e6abff06
commit
d4065a9668
|
@ -31,6 +31,12 @@ if (${DOXYGEN_FOUND})
|
||||||
${HEADER_FILES}
|
${HEADER_FILES}
|
||||||
ALL
|
ALL
|
||||||
USE_STAMP_FILE)
|
USE_STAMP_FILE)
|
||||||
|
|
||||||
|
add_custom_target(deploy-docs
|
||||||
|
COMMAND rsync --delete-after --progress -auvz ${CMAKE_CURRENT_BINARY_DIR}/html/* docs.shimmering-clarity.net:sites/cc/${PROJECT_NAME}/
|
||||||
|
DEPENDS emsha_docs
|
||||||
|
)
|
||||||
|
|
||||||
install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html
|
install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/latex
|
${CMAKE_CURRENT_BINARY_DIR}/latex
|
||||||
DESTINATION share/doc/${PROJECT_NAME}/doxygen)
|
DESTINATION share/doc/${PROJECT_NAME}/doxygen)
|
||||||
|
|
Loading…
Reference in New Issue