]> git.proxmox.com Git - ceph.git/blame - ceph/src/seastar/fmt/doc/CMakeLists.txt
update download target update for octopus release
[ceph.git] / ceph / src / seastar / fmt / doc / CMakeLists.txt
CommitLineData
11fdf7f2
TL
1find_program(DOXYGEN doxygen)
2if (NOT DOXYGEN)
3 message(STATUS "Target 'doc' disabled (requires doxygen)")
4 return ()
5endif ()
6
7add_custom_target(doc
8 COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/build.py ${FMT_VERSION}
9 SOURCES api.rst syntax.rst build.py conf.py _templates/layout.html)
10
11install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html/
12 DESTINATION share/doc/fmt OPTIONAL)