Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
CMake
CMake
Commits
7383e4d7
Commit
7383e4d7
authored
Dec 10, 2014
by
Konstantin Podsvirov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CMake: Install COMPONENTs (sphinx-man)
Added component sphinx-man
parent
2531b909
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
1 deletion
+10
-1
CMakeCPack.cmake
CMakeCPack.cmake
+3
-0
CMakeCPackOptions.cmake.in
CMakeCPackOptions.cmake.in
+5
-0
Utilities/Sphinx/CMakeLists.txt
Utilities/Sphinx/CMakeLists.txt
+2
-1
No files found.
CMakeCPack.cmake
View file @
7383e4d7
...
...
@@ -83,6 +83,9 @@ if(EXISTS "${CMAKE_ROOT}/Modules/CPack.cmake")
if
(
BUILD_QtDialog
)
list
(
APPEND _CPACK_IFW_COMPONENTS_ALL cmake-gui
)
endif
()
if
(
SPHINX_MAN
)
list
(
APPEND _CPACK_IFW_COMPONENTS_ALL sphinx-man
)
endif
()
if
(
SPHINX_HTML
)
list
(
APPEND _CPACK_IFW_COMPONENTS_ALL sphinx-html
)
endif
()
...
...
CMakeCPackOptions.cmake.in
View file @
7383e4d7
...
...
@@ -117,6 +117,11 @@ if(CPACK_GENERATOR MATCHES "IFW")
set(CPACK_IFW_COMPONENT_GROUP_DOCUMENTATION_VERSION
"@_CPACK_IFW_PACKAGE_VERSION@")
set(CPACK_COMPONENT_SPHINX-MAN_DISPLAY_NAME "man")
set(CPACK_COMPONENT_SPHINX-MAN_GROUP Documentation)
set(CPACK_IFW_COMPONENT_SPHINX-MAN_NAME "SphinxMan")
set(CPACK_IFW_COMPONENT_SPHINX-MAN_VERSION "@_CPACK_IFW_PACKAGE_VERSION@")
set(CPACK_COMPONENT_SPHINX-HTML_DISPLAY_NAME "HTML")
set(CPACK_COMPONENT_SPHINX-HTML_GROUP Documentation)
set(CPACK_IFW_COMPONENT_SPHINX-HTML_NAME "SphinxHTML")
...
...
Utilities/Sphinx/CMakeLists.txt
View file @
7383e4d7
...
...
@@ -154,7 +154,8 @@ if(SPHINX_MAN)
set
(
name
"
${
CMAKE_MATCH_1
}
"
)
set
(
sec
"
${
CMAKE_MATCH_2
}
"
)
install
(
FILES
${
CMAKE_CURRENT_BINARY_DIR
}
/man/
${
name
}
.
${
sec
}
DESTINATION
${
CMAKE_MAN_DIR
}
/man
${
sec
}
)
DESTINATION
${
CMAKE_MAN_DIR
}
/man
${
sec
}
COMPONENT sphinx-man
)
endif
()
endforeach
()
endif
()
...
...
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