18 list(APPEND server_srcs
63 list(APPEND man_srcs rbd-nbd.rst)
66 list(APPEND man_srcs rbd-ggate.rst)
70 foreach(man ${man_srcs})
71 list(APPEND sphinx_input ${CMAKE_CURRENT_SOURCE_DIR}/${man})
72 # mount.ceph.rst => mount if we use
73 # get_filename_component(cmd ${man} NAME_WE)
74 string(REGEX REPLACE ".rst$" "" cmd ${man})
75 list(APPEND sphinx_output ${sphinx_output_dir}/${cmd}.8)
76 install(FILES ${sphinx_output_dir}/${cmd}.8
77 DESTINATION ${CEPH_MAN_DIR}/man8)
80 set(sphinx_input ${sphinx_input} PARENT_SCOPE)
81 set(sphinx_output ${sphinx_output} PARENT_SCOPE)