Skip to content

Commit

Permalink
More docs
Browse files Browse the repository at this point in the history
  • Loading branch information
shundhammer committed Jan 5, 2021
1 parent 0f84fe0 commit dbdc3f7
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion doc/CMakeLists.txt
Expand Up @@ -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
Expand All @@ -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

Expand All @@ -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}" )
Expand Down

0 comments on commit dbdc3f7

Please sign in to comment.