diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt index c09c8a02..ffe57407 100644 --- a/doc/CMakeLists.txt +++ b/doc/CMakeLists.txt @@ -8,6 +8,11 @@ find_package( Doxygen REQUIRED dot ) set( PKG_NAME libyui-qt${SONAME_MAJOR} ) set( DOC_INSTALL_DIR ${DOC_DESTDIR}/usr/share/doc/packages/${PKG_NAME} ) + +# +# Doxygen-generated autodocs +# + if ( DOXYGEN_FOUND ) # Enable a HTML frame on the left side for the views tree @@ -21,6 +26,10 @@ else() endif() +# +# Other (manually written) docs +# + set( DOC_FILES ${CMAKE_CURRENT_SOURCE_DIR}/RichText.txt ) # The license files (../COPYING*) are handled in the .spec file @@ -33,7 +42,7 @@ add_custom_target( install-doc DEPENDS doc COMMAND mkdir -m 755 -p ${DOC_INSTALL_DIR}/html - COMMAND install -m 644 ${DOC_FILES} ${DOC_INSTALL_DIR} + COMMAND install -m 644 ${DOC_FILES} ${DOC_INSTALL_DIR} COMMAND cp -r ${CMAKE_CURRENT_BINARY_DIR}/html ${DOC_INSTALL_DIR} COMMENT "Installing documentation to ${DOC_INSTALL_DIR}" )