]> git.proxmox.com Git - ceph.git/blob - ceph/doc/man/8/CMakeLists.txt
import 15.2.4
[ceph.git] / ceph / doc / man / 8 / CMakeLists.txt
1 set(client_srcs
2 ceph-syn.rst
3 ceph-conf.rst
4 ceph.rst
5 ceph-authtool.rst
6 ceph-kvstore-tool.rst
7 rados.rst
8 ceph-post-file.rst
9 ceph-dencoder.rst)
10
11 set(server_srcs
12 ceph-deploy.rst
13 crushtool.rst
14 ceph-run.rst
15 mount.ceph.rst
16 ceph-create-keys.rst)
17 if(WITH_TESTS)
18 list(APPEND server_srcs
19 ceph-debugpack.rst)
20 endif(WITH_TESTS)
21
22 set(osd_srcs
23 ceph-clsinfo.rst
24 ceph-volume.rst
25 ceph-volume-systemd.rst
26 ceph-osd.rst
27 osdmaptool.rst
28 ceph-bluestore-tool.rst)
29
30 set(mon_srcs
31 ceph-mon.rst
32 monmaptool.rst)
33
34 list(APPEND man_srcs
35 ${client_srcs}
36 ${server_srcs}
37 ${osd_srcs}
38 ${mon_srcs}
39 ceph-mds.rst
40 librados-config.rst
41 cephadm.rst)
42
43 if(HAVE_LIBFUSE)
44 list(APPEND man_srcs
45 ceph-fuse.rst
46 rbd-fuse.rst)
47 endif()
48
49 if(WITH_RADOSGW)
50 list(APPEND man_srcs
51 radosgw.rst
52 radosgw-admin.rst
53 rgw-orphan-list.rst
54 ceph-diff-sorted.rst)
55 endif()
56
57 if(WITH_RBD)
58 list(APPEND man_srcs
59 ceph-rbdnamer.rst
60 rbd-mirror.rst
61 rbd-replay-many.rst
62 rbd-replay-prep.rst
63 rbd-replay.rst
64 rbdmap.rst
65 rbd.rst)
66 if(LINUX)
67 list(APPEND man_srcs rbd-nbd.rst)
68 endif()
69 if(FREEBSD)
70 list(APPEND man_srcs rbd-ggate.rst)
71 endif()
72 endif()
73
74 list(APPEND man_srcs ceph-immutable-object-cache.rst)
75 foreach(man ${man_srcs})
76 list(APPEND sphinx_input ${CMAKE_CURRENT_SOURCE_DIR}/${man})
77 # mount.ceph.rst => mount if we use
78 # get_filename_component(cmd ${man} NAME_WE)
79 string(REGEX REPLACE ".rst$" "" cmd ${man})
80 list(APPEND sphinx_output ${sphinx_output_dir}/${cmd}.8)
81 install(FILES ${sphinx_output_dir}/${cmd}.8
82 DESTINATION ${CEPH_MAN_DIR}/man8)
83 endforeach()
84
85 set(sphinx_input ${sphinx_input} PARENT_SCOPE)
86 set(sphinx_output ${sphinx_output} PARENT_SCOPE)