Skip to content
Snippets Groups Projects
Commit 47fbcf8e authored by Guillaume Pasero's avatar Guillaume Pasero
Browse files

BUG: fix doxygen archive

parent 55a1f81b
Branches
Tags
No related merge requests found
...@@ -146,15 +146,23 @@ if (BUILD_DOCUMENTATION) ...@@ -146,15 +146,23 @@ if (BUILD_DOCUMENTATION)
# DEPENDS "${OTB_SOURCE_DIR}/Examples" "${OTB_SOURCE_DIR}/Utilities/Doxygen/GenerateExamplesDox.cmake" # 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 ${DOXYGEN_EXECUTABLE} ${OTB_BINARY_DIR}/Utilities/Doxygen/doxygen.config
COMMAND ${CMAKE_COMMAND} -E tar cjf #COMMAND ${CMAKE_COMMAND} -E copy
${OTB_BINARY_DIR}/Documentation/Doxygen/OTB-Doxygen-${OTB_VERSION_MAJOR}.${OTB_VERSION_MINOR}.tar.bz2 # ${OTB_SOURCE_DIR}/Utilities/Doxygen/favicon.ico
${OTB_BINARY_DIR}/Documentation/Doxygen/html # ${OTB_BINARY_DIR}/Documentation/Doxygen/html
DEPENDS ${OTB_BINARY_DIR}/Utilities/Doxygen/otbdoxygen.pl DEPENDS ${OTB_BINARY_DIR}/Utilities/Doxygen/otbdoxygen.pl
# DEPENDS ${OTB_BINARY_DIR}/Documentation/Doxygen/Examples.dox # DEPENDS ${OTB_BINARY_DIR}/Documentation/Doxygen/Examples.dox
WORKING_DIRECTORY ${OTB_BINARY_DIR}/Utilities/Doxygen 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. # Somehow the logo image is not copied into the html folder.
# Here we ensure that the logo image ends up in the right directory # 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" ...@@ -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. # 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. # 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 # 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 # will adjust the colors in the stylesheet and background images according to
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment