Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
ProMod3
Manage
Activity
Members
Plan
Jira
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
schwede
ProMod3
Commits
57bbb46c
Commit
57bbb46c
authored
11 years ago
by
Bienchen
Browse files
Options
Downloads
Patches
Plain Diff
Fixed documentation installation
parent
c408046d
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/CMakeLists.txt
+11
-1
11 additions, 1 deletion
doc/CMakeLists.txt
with
11 additions
and
1 deletion
doc/CMakeLists.txt
+
11
−
1
View file @
57bbb46c
...
@@ -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?
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment