icinga2/doc/CMakeLists.txt

21 lines
334 B
CMake

# Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+
file(GLOB DOCSRCS "*.md")
if(UNIX OR CYGWIN)
install(
FILES icinga2.8
DESTINATION ${CMAKE_INSTALL_MANDIR}/man8
)
endif()
install(
FILES ${DOCSRCS}
DESTINATION ${CMAKE_INSTALL_DOCDIR}/markdown
)
install(
DIRECTORY images
DESTINATION ${CMAKE_INSTALL_DOCDIR}/markdown
)