Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
GATB
gatb-core
Commits
0ee77b2d
Commit
0ee77b2d
authored
Jan 28, 2016
by
DURAND Patrick
Browse files
automate publication of doc on Inria Forge garb-core public directory
parent
6f289d5f
Changes
1
Hide whitespace changes
Inline
Side-by-side
gatb-core/doc/CMakeLists.txt
View file @
0ee77b2d
...
...
@@ -7,7 +7,15 @@ if (DOXYGEN_FOUND)
CONFIGURE_FILE
(
${
CMAKE_CURRENT_SOURCE_DIR
}
/doxygen/gatb.doxyfile
${
CMAKE_CURRENT_BINARY_DIR
}
/Doxyfile @ONLY
)
ADD_CUSTOM_TARGET
(
doc
${
DOXYGEN_EXECUTABLE
}
${
CMAKE_CURRENT_BINARY_DIR
}
/Doxyfile
)
ADD_CUSTOM_TARGET
(
doc
${
DOXYGEN_EXECUTABLE
}
${
CMAKE_CURRENT_BINARY_DIR
}
/Doxyfile
)
ADD_CUSTOM_TARGET
(
deploy-doc
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 ssh $ENV{USER}@scm.gforge.inria.fr
"rm -rf /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"
)
INSTALL
(
CODE
"execute_process(COMMAND
${
CMAKE_BUILD_TOOL
}
doc)"
)
...
...
@@ -17,4 +25,4 @@ endif (DOXYGEN_FOUND)
# HERE IS A COMMAND LINE TO COPY THE HTML DOCUMENTATION TO THE GFORGE SERVER (from the build directory)
# scp doc/html/* edrezen@scm.gforge.inria.fr:/home/groups/gatb-core/htdocs/
\ No newline at end of file
#
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment