Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
mantid
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review 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
mantidproject
mantid
Commits
00dff56e
Commit
00dff56e
authored
10 years ago
by
Peterson, Peter
Browse files
Options
Downloads
Plain Diff
Merge remote-tracking branch 'origin/bugfix/9629_fix_offline_docs_in_app_bundle'
parents
60bec995
b409b645
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Code/Mantid/Build/Jenkins/buildscript
+6
-3
6 additions, 3 deletions
Code/Mantid/Build/Jenkins/buildscript
Code/Mantid/docs/CMakeLists.txt
+5
-5
5 additions, 5 deletions
Code/Mantid/docs/CMakeLists.txt
with
11 additions
and
8 deletions
Code/Mantid/Build/Jenkins/buildscript
+
6
−
3
View file @
00dff56e
...
...
@@ -34,12 +34,15 @@ if [[ ${JOB_NAME} == *clean* ]]; then
# Set some variables relating to the linux packages created from clean builds
if
[[
$(
uname
)
!=
'Darwin'
]]
;
then
# Use different suffix for linux builds
if
[[
${
JOB_NAME
}
==
*
master
*
]]
;
then
SUFFIX
=
nightly
PACKAGINGVARS
=
"-DENVVARS_ON_INSTALL=False -DCMAKE_INSTALL_PREFIX=/opt/mantidnightly -DCPACK_PACKAGE_SUFFIX=nightly -DCPACK_SET_DESTDIR=OFF -DPACKAGE_DOCS=ON"
elif
[[
${
JOB_NAME
}
==
*
develop
*
]]
;
then
SUFFIX
=
unstable
PACKAGINGVARS
=
"-DENVVARS_ON_INSTALL=False -DCMAKE_INSTALL_PREFIX=/opt/mantidunstable -DCPACK_PACKAGE_SUFFIX=unstable -DCPACK_SET_DESTDIR=OFF -DPACKAGE_DOCS=ON"
fi
PACKAGINGVARS
=
"-DENVVARS_ON_INSTALL=False -DCMAKE_INSTALL_PREFIX=/opt/mantid
${
SUFFIX
}
-DCPACK_PACKAGE_SUFFIX=
${
SUFFIX
}
-DCPACK_SET_DESTDIR=OFF -DPACKAGE_DOCS=True"
else
# Mac packaging
PACKAGINGVARS
=
"-DPACKAGE_DOCS=ON"
fi
fi
...
...
This diff is collapsed.
Click to expand it.
Code/Mantid/docs/CMakeLists.txt
+
5
−
5
View file @
00dff56e
...
...
@@ -109,16 +109,16 @@ if ( SPHINX_FOUND )
# must "make qtassistant" before "make package" otherwise there will be a build failure
install
(
FILES
${
SPHINX_BUILD_DIR
}
/qthelp/MantidProject.qhc
${
SPHINX_BUILD_DIR
}
/qthelp/MantidProject.qch
DESTINATION
${
HTML_DOCS_DEST
}
)
DESTINATION
${
INBUNDLE
}
${
HTML_DOCS_DEST
}
)
install
(
DIRECTORY
${
SPHINX_BUILD_DIR
}
/qthelp/
DESTINATION
${
HTML_DOCS_DEST
}
DESTINATION
${
INBUNDLE
}
${
HTML_DOCS_DEST
}
FILES_MATCHING PATTERN
"*.html"
)
install
(
DIRECTORY
${
SPHINX_BUILD_DIR
}
/qthelp/_images/
${
SPHINX_BUILD_DIR
}
/qthelp/_static/
DESTINATION
${
HTML_DOCS_DEST
}
)
DESTINATION
${
INBUNDLE
}
${
HTML_DOCS_DEST
}
)
else
(
QT_QCOLLECTIONGENERATOR_EXECUTABLE
)
install
(
DIRECTORY
${
SPHINX_BUILD_DIR
}
/html
DESTINATION
${
HTML_DOCS_DEST
}
)
install
(
DIRECTORY
${
SPHINX_BUILD_DIR
}
/html
/
DESTINATION
${
INBUNDLE
}
${
HTML_DOCS_DEST
}
)
endif
(
QT_QCOLLECTIONGENERATOR_EXECUTABLE
)
endif
(
PACKAGE_DOCS
)
else
(
SPHINX_FOUND
)
...
...
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