]> git.proxmox.com Git - ceph.git/blob - ceph/doc/man/CMakeLists.txt
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / doc / man / CMakeLists.txt
1 set(sphinx_input)
2 set(sphinx_output)
3 set(sphinx_output_dir ${CMAKE_BINARY_DIR}/doc/man)
4
5 add_subdirectory(8)
6
7 add_custom_command(
8 OUTPUT ${sphinx_output}
9 COMMAND ${SPHINX_BUILD} -b man -t man -d ${CMAKE_BINARY_DIR}/doc/doctrees -c ${CMAKE_SOURCE_DIR}/man ${CMAKE_CURRENT_SOURCE_DIR} ${sphinx_output_dir}
10 DEPENDS ${sphinx_input})
11
12 add_custom_target(
13 manpages ALL
14 DEPENDS ${sphinx_output}
15 COMMENT "manpages building")