mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2024-12-23 00:10:07 +00:00
Install documentation into share/doc/opensubdiv/
Per the Filesystem Hierarchy Standard: http://www.pathname.com/fhs/pub/fhs-2.3.html#SPECIFICOPTIONS15
This commit is contained in:
parent
52c6b65d1a
commit
de6b6b8ddf
@ -62,6 +62,10 @@ if (NOT DEFINED CMAKE_PLUGINDIR_BASE)
|
||||
set( CMAKE_PLUGINDIR_BASE plugin )
|
||||
endif()
|
||||
|
||||
if (NOT DEFINED CMAKE_DOCDIR_BASE)
|
||||
set( CMAKE_DOCDIR_BASE share/doc/opensubdiv )
|
||||
endif()
|
||||
|
||||
# Allow install path to be overridden for cross-compile builds
|
||||
if(LIBRARY_OUTPUT_PATH_ROOT)
|
||||
SET( CMAKE_INSTALL_PREFIX ${LIBRARY_OUTPUT_PATH_ROOT}/ )
|
||||
|
@ -45,7 +45,7 @@ if (DOXYGEN_FOUND)
|
||||
DIRECTORY
|
||||
${CMAKE_CURRENT_BINARY_DIR}/doxy_html
|
||||
DESTINATION
|
||||
${CMAKE_INSTALL_PREFIX}/documentation
|
||||
${CMAKE_DOCDIR_BASE}
|
||||
)
|
||||
|
||||
else()
|
||||
@ -120,7 +120,7 @@ if (DOCUTILS_FOUND AND PYTHONINTERP_FOUND)
|
||||
FILES
|
||||
${outfile}
|
||||
DESTINATION
|
||||
${CMAKE_INSTALL_PREFIX}/documentation
|
||||
${CMAKE_DOCDIR_BASE}
|
||||
PERMISSIONS
|
||||
OWNER_READ GROUP_READ WORLD_READ
|
||||
)
|
||||
@ -149,7 +149,7 @@ if (DOCUTILS_FOUND AND PYTHONINTERP_FOUND)
|
||||
FILES
|
||||
${outfile}
|
||||
DESTINATION
|
||||
${CMAKE_INSTALL_PREFIX}/documentation
|
||||
${CMAKE_DOCDIR_BASE}
|
||||
)
|
||||
endforeach()
|
||||
|
||||
@ -197,7 +197,7 @@ if (DOCUTILS_FOUND AND PYTHONINTERP_FOUND)
|
||||
DIRECTORY
|
||||
${CMAKE_CURRENT_BINARY_DIR}/tipuesearch
|
||||
DESTINATION
|
||||
${CMAKE_INSTALL_PREFIX}/documentation
|
||||
${CMAKE_DOCDIR_BASE}
|
||||
)
|
||||
|
||||
|
||||
@ -205,14 +205,14 @@ if (DOCUTILS_FOUND AND PYTHONINTERP_FOUND)
|
||||
DIRECTORY
|
||||
${CMAKE_CURRENT_BINARY_DIR}/images
|
||||
DESTINATION
|
||||
${CMAKE_INSTALL_PREFIX}/documentation
|
||||
${CMAKE_DOCDIR_BASE}
|
||||
)
|
||||
|
||||
install(
|
||||
DIRECTORY
|
||||
${CMAKE_CURRENT_BINARY_DIR}/css
|
||||
DESTINATION
|
||||
${CMAKE_INSTALL_PREFIX}/documentation
|
||||
${CMAKE_DOCDIR_BASE}
|
||||
)
|
||||
|
||||
list(APPEND DOC_TARGETS doc_html)
|
||||
|
Loading…
Reference in New Issue
Block a user