Commit 446307a5 authored by Jan Möbius's avatar Jan Möbius
Browse files

Created working html targets

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@9277 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 0113d2c6
......@@ -6,6 +6,10 @@ IF (DOXYGEN_FOUND)
# acg_copy_after_build (doc "${CMAKE_CURRENT_SOURCE_DIR}/html" "${CMAKE_BINARY_DIR}/Build/${ACG_PROJECT_DATADIR}/Doc/DeveloperHtml")
# endif ()
# use the doxyfile here and generate a documentation target
acg_create_doc_target( DeveloperHelp )
# copy acg stylesheet data after build
if (TARGET doc )
acg_copy_after_build (doc "${CMAKE_CURRENT_SOURCE_DIR}/../ACGStyleHtml" "${CMAKE_BINARY_DIR}/Build/${ACG_PROJECT_DATADIR}/Doc/DeveloperHTML/html")
......
include (ACGDoxygen)
IF (DOXYGEN_FOUND)
# if (TARGET doc)
# acg_copy_after_build (doc "${CMAKE_CURRENT_SOURCE_DIR}/html" "${CMAKE_BINARY_DIR}/Build/${ACG_PROJECT_DATADIR}/Doc/DeveloperHtml")
# endif ()
# use the doxyfile here and generate a documentation target
acg_create_doc_target( UserHelp )
# copy acg stylesheet data after build
if (TARGET UserHelp )
acg_copy_after_build (UserHelp "${CMAKE_CURRENT_SOURCE_DIR}/../ACGStyleHtml" "${CMAKE_BINARY_DIR}/Build/${ACG_PROJECT_DATADIR}/Doc/UserHTML/html")
endif ()
# Add a documentation install target
add_custom_target(doc-User-html-install COMMENT "Installing User HTML Documentation" VERBATIM )
# Build Documentation before installing it
add_dependencies(doc-User-html-install doc)
if (TARGET doc-Developer-html-install)
acg_copy_after_build (doc-User-html-install "${CMAKE_BINARY_DIR}/Build/${ACG_PROJECT_DATADIR}/Doc/UserHtml" "${CMAKE_INSTALL_PREFIX}/${ACG_PROJECT_DATADIR}/Doc/UserHtml")
endif()
ENDIF(DOXYGEN_FOUND)
This diff is collapsed.
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