ADD_CUSTOM_TARGET(dev_docs ${DOXYGEN_EXECUTABLE})
-INSTALL(CODE "FILE(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/GUI)")
-INSTALL(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/GUI
+INSTALL(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/GUI
+ OPTIONAL
DESTINATION ${SALOME_INSTALL_DOC}/tui
PATTERN "*.md5" EXCLUDE
PATTERN "*.map" EXCLUDE)
-INSTALL(FILES images/head.png DESTINATION ${SALOME_INSTALL_DOC}/tui/GUI)
SET_DIRECTORY_PROPERTIES(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES GUI)
HTML_HEADER = @CMAKE_CURRENT_BINARY_DIR@/static/header.html
HTML_FOOTER = @CMAKE_CURRENT_SOURCE_DIR@/static/footer.html
HTML_EXTRA_STYLESHEET = @CMAKE_CURRENT_SOURCE_DIR@/static/salome_extra.css
+HTML_EXTRA_FILES = @CMAKE_CURRENT_SOURCE_DIR@/images/head.png
HTML_ALIGN_MEMBERS = YES
GENERATE_HTMLHELP = NO
CHM_FILE =