Commit 47fbcf8e authored by Guillaume Pasero's avatar Guillaume Pasero

BUG: fix doxygen archive

parent 55a1f81b
......@@ -146,15 +146,23 @@ if (BUILD_DOCUMENTATION)
# DEPENDS "${OTB_SOURCE_DIR}/Examples" "${OTB_SOURCE_DIR}/Utilities/Doxygen/GenerateExamplesDox.cmake"
# )
add_custom_target(Documentation
add_custom_target(Documentation-doxygen
COMMAND ${DOXYGEN_EXECUTABLE} ${OTB_BINARY_DIR}/Utilities/Doxygen/doxygen.config
COMMAND ${CMAKE_COMMAND} -E tar cjf
${OTB_BINARY_DIR}/Documentation/Doxygen/OTB-Doxygen-${OTB_VERSION_MAJOR}.${OTB_VERSION_MINOR}.tar.bz2
${OTB_BINARY_DIR}/Documentation/Doxygen/html
#COMMAND ${CMAKE_COMMAND} -E copy
# ${OTB_SOURCE_DIR}/Utilities/Doxygen/favicon.ico
# ${OTB_BINARY_DIR}/Documentation/Doxygen/html
DEPENDS ${OTB_BINARY_DIR}/Utilities/Doxygen/otbdoxygen.pl
# DEPENDS ${OTB_BINARY_DIR}/Documentation/Doxygen/Examples.dox
WORKING_DIRECTORY ${OTB_BINARY_DIR}/Utilities/Doxygen
)
add_custom_target(Documentation
COMMAND ${CMAKE_COMMAND} -E tar cjf
${OTB_BINARY_DIR}/Documentation/Doxygen/OTB-Doxygen-${OTB_VERSION_MAJOR}.${OTB_VERSION_MINOR}.tar.bz2
${OTB_BINARY_DIR}/Documentation/Doxygen/html
DEPENDS Documentation-doxygen
WORKING_DIRECTORY ${OTB_BINARY_DIR}/Documentation/Doxygen
)
# Somehow the logo image is not copied into the html folder.
# Here we ensure that the logo image ends up in the right directory
......
......@@ -1099,7 +1099,7 @@ HTML_EXTRA_STYLESHEET = "@OTB_SOURCE_DIR@/Utilities/Doxygen/DoxygenStyle.css"
# files will be copied as-is; there are no commands or markers available.
# This tag requires that the tag GENERATE_HTML is set to YES.
HTML_EXTRA_FILES =
HTML_EXTRA_FILES = "@OTB_SOURCE_DIR@/Utilities/Doxygen/favicon.ico"
# The HTML_COLORSTYLE_HUE tag controls the color of the HTML output. Doxygen
# will adjust the colors in the stylesheet and background images according to
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment