Commit 081d401f authored by DURAND Patrick's avatar DURAND Patrick
Browse files

deploy garb-core doc into doc/api sub-folder on Inria Forge htdocs

parent 92595cce
...@@ -13,8 +13,8 @@ if (DOXYGEN_FOUND) ...@@ -13,8 +13,8 @@ if (DOXYGEN_FOUND)
ADD_CUSTOM_TARGET (deploy-doc ADD_CUSTOM_TARGET (deploy-doc
COMMAND tar -zcf ${CMAKE_BINARY_DIR}/doc/doc.tgz -C ${CMAKE_BINARY_DIR}/doc/html . COMMAND tar -zcf ${CMAKE_BINARY_DIR}/doc/doc.tgz -C ${CMAKE_BINARY_DIR}/doc/html .
COMMAND scp ${CMAKE_BINARY_DIR}/doc/doc.tgz $ENV{USER}@scm.gforge.inria.fr:/home/groups/gatb-core/ COMMAND scp ${CMAKE_BINARY_DIR}/doc/doc.tgz $ENV{USER}@scm.gforge.inria.fr:/home/groups/gatb-core/
COMMAND ssh $ENV{USER}@scm.gforge.inria.fr "rm -rf /home/groups/gatb-core/htdocs/*" COMMAND ssh $ENV{USER}@scm.gforge.inria.fr "rm -rf /home/groups/gatb-core/htdocs/doc/api/*"
COMMAND ssh $ENV{USER}@scm.gforge.inria.fr "tar -xf /home/groups/gatb-core/doc.tgz --no-overwrite-dir -C /home/groups/gatb-core/htdocs" COMMAND ssh $ENV{USER}@scm.gforge.inria.fr "tar -xf /home/groups/gatb-core/doc.tgz --no-overwrite-dir -C /home/groups/gatb-core/htdocs/doc/api"
) )
INSTALL (CODE "execute_process(COMMAND ${CMAKE_BUILD_TOOL} doc)") INSTALL (CODE "execute_process(COMMAND ${CMAKE_BUILD_TOOL} doc)")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment