# -*- mode: CMAKE; explicit-buffer-name: "CMakeLists.txt<hurricane/doc/hurricane>" -*-

               set ( htmlInstallDir  share/doc/coriolis2/en/html/doc/hurricane )
               set ( latexInstallDir share/doc/coriolis2/en/latex/hurricane )
               set ( doxExtras       closed.png
                                     open.png
                                     tabs.css
                   )

 if(BUILD_DOC AND DOXYGEN_FOUND)
   add_custom_target ( hurricaneDoc ALL
                          cd ${HURRICANE_SOURCE_DIR}/doc/hurricane
                       && ${DOXYGEN_EXECUTABLE} doxyfile
                       && cp -f ${doxExtras} html
                     )
 endif()

           install ( DIRECTORY html/                DESTINATION ${htmlInstallDir} )
           install ( DIRECTORY latex/               DESTINATION ${latexInstallDir} )
           install ( FILES     asimbook.cls         DESTINATION ${latexInstallDir} )
