X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=kernel%2Fdoc%2FCMakeLists.txt;h=630b9a2232f711be422bb0938874607badc72c7d;hb=c220f17e961419621d2d047023f3c20e33dc4773;hp=a0157af2738d0393335d312a739c2c7e64aced56;hpb=ddbf713a6bf02c1d7fc75a370ec11f2b87cfe20d;p=bbtk.git diff --git a/kernel/doc/CMakeLists.txt b/kernel/doc/CMakeLists.txt index a0157af..630b9a2 100755 --- a/kernel/doc/CMakeLists.txt +++ b/kernel/doc/CMakeLists.txt @@ -89,7 +89,7 @@ ENDIF(BUILD_bbtk_DOC AND BUILD_bbtk_DOC_GUIDES_PDF OR BUILD_bbtk_DOC_GUIDES_HTML IF(BUILD_bbtk_DOC) # Configure main page index.html for build tree CONFIGURE_FILE( - index.html + index.html.in ${BBTK_DOC_BUILD_PATH}/index.html @ONLY ) @@ -98,16 +98,33 @@ IF(BUILD_bbtk_DOC) FILES ${BBTK_DOC_BUILD_PATH}/index.html DESTINATION ${BBTK_DOC_INSTALL_PATH} ) + # Configure main page index-no-frame.html for build tree + CONFIGURE_FILE( + index-no-frame.html.in + ${BBTK_DOC_BUILD_PATH}/index-no-frame.html + @ONLY + ) + # Install it + INSTALL( + FILES ${BBTK_DOC_BUILD_PATH}/index-no-frame.html + DESTINATION ${BBTK_DOC_INSTALL_PATH} + ) + # Recurse it bbtkWebSite dir SUBDIRS(bbtkWebSite) - + INSTALL( + DIRECTORY ${BBTK_BINARY_DIR}/${BBTK_DOC_REL_PATH} + DESTINATION ${BBTK_SHARE_REL_PATH} + ) + + INSTALL( + DIRECTORY ${BBTK_BINARY_DIR}/${BBTK_BBS_REL_PATH} + DESTINATION ${BBTK_SHARE_REL_PATH} + ) + -# INSTALL( -# DIRECTORY ${BBTK_BINARY_DIR}/kernel/doc -# DESTINATION ${CMAKE_INSTALL_PREFIX} -# ) ENDIF(BUILD_bbtk_DOC) #-----------------------------------------------------------------------------