1 # Configure & install images
2 BBTK_DOC_INSTALL_IMAGES(bbtkWebSite)
4 # Configure html pages for build tree and install
5 FILE(GLOB HTML_PAGES "." "*.html")
6 FOREACH(page ${HTML_PAGES})
7 GET_FILENAME_COMPONENT(filename "${page}" NAME)
10 ${BBTK_DOC_BUILD_PATH}/bbtkWebSite/${filename}
15 FILES ${BBTK_DOC_BUILD_PATH}/bbtkWebSite/${filename}
16 DESTINATION ${BBTK_DOC_INSTALL_PATH}/bbtkWebSite
21 SET(INDEX_OUTPUT index-alpha.html)
29 OUTPUT ${INDEX_OUTPUT}
31 set ${DLL_PATH} cd ${BBTK_BIN_PATH} && ./bbRegeneratePackageDoc -a && ./bbRegenerateBoxesLists
33 DEPENDS ${BBTK_PACKAGES_DEPS}
38 MESSAGE(STATUS "PACKAGE_DEPS=${BBTK_PACKAGES_DEPS}")
40 SET(LD_LIBRARY_PATH "$ENV{LD_LIBRARY_PATH}:${LIBRARY_OUTPUT_PATH}")
41 # MESSAGE(LD_LIBRARY_PATH=${LD_LIBRARY_PATH})
44 OUTPUT ${INDEX_OUTPUT}
47 cd ${BBTK_BIN_PATH} && export LD_LIBRARY_PATH=${LD_LIBRARY_PATH} && ./bbRegeneratePackageDoc -a && ./bbRegenerateBoxesLists
49 DEPENDS ${BBTK_PACKAGES_DEPS}
54 ADD_CUSTOM_TARGET(bbdoc ALL
55 DEPENDS ${INDEX_OUTPUT}