2016-05-12 05:47:49 +00:00
|
|
|
set(client_srcs
|
2016-05-11 13:29:15 +00:00
|
|
|
ceph-syn.rst
|
|
|
|
ceph-conf.rst
|
|
|
|
ceph.rst
|
|
|
|
ceph-authtool.rst
|
2017-08-18 13:52:52 +00:00
|
|
|
ceph-kvstore-tool.rst
|
2016-05-11 13:29:15 +00:00
|
|
|
rados.rst
|
2016-05-12 05:47:49 +00:00
|
|
|
ceph-post-file.rst
|
|
|
|
ceph-dencoder.rst)
|
|
|
|
|
|
|
|
set(server_srcs
|
|
|
|
ceph-deploy.rst
|
|
|
|
crushtool.rst
|
|
|
|
ceph-run.rst
|
|
|
|
mount.ceph.rst
|
2017-09-06 18:09:44 +00:00
|
|
|
ceph-create-keys.rst)
|
2016-08-23 11:32:47 +00:00
|
|
|
if(WITH_TESTS)
|
|
|
|
list(APPEND server_srcs
|
2016-05-12 05:47:49 +00:00
|
|
|
ceph-debugpack.rst)
|
2016-08-23 11:32:47 +00:00
|
|
|
endif(WITH_TESTS)
|
2016-05-12 05:47:49 +00:00
|
|
|
|
|
|
|
set(osd_srcs
|
|
|
|
ceph-clsinfo.rst
|
2017-08-22 22:05:03 +00:00
|
|
|
ceph-volume.rst
|
|
|
|
ceph-volume-systemd.rst
|
2016-05-12 05:47:49 +00:00
|
|
|
ceph-osd.rst
|
2017-10-12 16:40:11 +00:00
|
|
|
osdmaptool.rst
|
|
|
|
ceph-bluestore-tool.rst)
|
2016-05-12 05:47:49 +00:00
|
|
|
|
|
|
|
set(mon_srcs
|
|
|
|
ceph-mon.rst
|
|
|
|
monmaptool.rst)
|
|
|
|
|
|
|
|
list(APPEND man_srcs
|
|
|
|
${client_srcs}
|
|
|
|
${server_srcs}
|
|
|
|
${osd_srcs}
|
|
|
|
${mon_srcs}
|
2016-07-07 18:31:32 +00:00
|
|
|
ceph-mds.rst
|
2020-04-22 07:58:55 +00:00
|
|
|
librados-config.rst
|
|
|
|
cephadm.rst)
|
2016-05-12 05:47:49 +00:00
|
|
|
|
2016-05-11 13:29:15 +00:00
|
|
|
if(HAVE_LIBFUSE)
|
|
|
|
list(APPEND man_srcs
|
|
|
|
ceph-fuse.rst
|
|
|
|
rbd-fuse.rst)
|
|
|
|
endif()
|
|
|
|
|
2016-05-12 05:47:49 +00:00
|
|
|
if(WITH_RADOSGW)
|
|
|
|
list(APPEND man_srcs
|
|
|
|
radosgw.rst
|
2020-03-25 17:39:51 +00:00
|
|
|
radosgw-admin.rst
|
|
|
|
rgw-orphan-list.rst
|
|
|
|
ceph-diff-sorted.rst)
|
2016-05-12 05:47:49 +00:00
|
|
|
endif()
|
|
|
|
|
2016-05-11 13:29:15 +00:00
|
|
|
if(WITH_RBD)
|
|
|
|
list(APPEND man_srcs
|
|
|
|
ceph-rbdnamer.rst
|
2016-05-12 05:47:49 +00:00
|
|
|
rbd-mirror.rst
|
2016-06-30 14:41:49 +00:00
|
|
|
rbd-replay-many.rst
|
2016-05-11 13:29:15 +00:00
|
|
|
rbd-replay-prep.rst
|
|
|
|
rbd-replay.rst
|
|
|
|
rbdmap.rst
|
|
|
|
rbd.rst)
|
2017-05-14 09:00:24 +00:00
|
|
|
if(LINUX)
|
|
|
|
list(APPEND man_srcs rbd-nbd.rst)
|
|
|
|
endif()
|
|
|
|
if(FREEBSD)
|
|
|
|
list(APPEND man_srcs rbd-ggate.rst)
|
|
|
|
endif()
|
2016-05-11 13:29:15 +00:00
|
|
|
endif()
|
|
|
|
|
2018-12-29 08:50:44 +00:00
|
|
|
list(APPEND man_srcs ceph-immutable-object-cache.rst)
|
2016-05-11 13:29:15 +00:00
|
|
|
foreach(man ${man_srcs})
|
|
|
|
list(APPEND sphinx_input ${CMAKE_CURRENT_SOURCE_DIR}/${man})
|
|
|
|
# mount.ceph.rst => mount if we use
|
|
|
|
# get_filename_component(cmd ${man} NAME_WE)
|
|
|
|
string(REGEX REPLACE ".rst$" "" cmd ${man})
|
|
|
|
list(APPEND sphinx_output ${sphinx_output_dir}/${cmd}.8)
|
|
|
|
install(FILES ${sphinx_output_dir}/${cmd}.8
|
|
|
|
DESTINATION ${CEPH_MAN_DIR}/man8)
|
|
|
|
endforeach()
|
|
|
|
|
|
|
|
set(sphinx_input ${sphinx_input} PARENT_SCOPE)
|
|
|
|
set(sphinx_output ${sphinx_output} PARENT_SCOPE)
|