Skip to content
Snippets Groups Projects
Commit 57bbb46c authored by Bienchen's avatar Bienchen
Browse files

Fixed documentation installation

parent c408046d
No related branches found
No related tags found
No related merge requests found
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
# - setup directories: sources go to BUILD/doc/source # - setup directories: sources go to BUILD/doc/source
# - every module gets its own directory # - every module gets its own directory
# - rst files are copied to this spot # - rst files are copied to this spot
# - compiled documentation goes to STAGE/...? # - compiled documentation goes to STAGE/share/promod3
# set up commands for the rst source files # set up commands for the rst source files
# take care of Sphinx config, conf.py; will be created from conf.py.in since # take care of Sphinx config, conf.py; will be created from conf.py.in since
...@@ -83,5 +83,15 @@ add_custom_target(doc ALL) ...@@ -83,5 +83,15 @@ add_custom_target(doc ALL)
add_dependencies(doc html) add_dependencies(doc html)
add_dependencies(doc man) add_dependencies(doc man)
# installing: Since shared data goes to our own sub directory, it is assumed
# save to just copy over whole directories. This saves us from
# keeping track of all output files of a html doc tree
# We install FROM the stage dir tree, since Sphinx will build the
# documentation right there.
# install html documentation
install(DIRECTORY ${_SPHINX_HTML_DIR} DESTINATION "share/promod3")
# install man pages
install(DIRECTORY ${_SPHINX_MAN_DIR} DESTINATION "share/promod3")
# doctest & linkcheck goes into check, once its created # doctest & linkcheck goes into check, once its created
# what about extratcting stuff from code? # what about extratcting stuff from code?
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment