]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | set(client_srcs |
2 | ceph-syn.rst | |
3 | ceph-conf.rst | |
4 | ceph.rst | |
5 | ceph-authtool.rst | |
b32b8144 | 6 | ceph-kvstore-tool.rst |
7c673cae FG |
7 | rados.rst |
8 | ceph-post-file.rst | |
9 | ceph-dencoder.rst) | |
10 | ||
11 | set(server_srcs | |
7c673cae FG |
12 | crushtool.rst |
13 | ceph-run.rst | |
14 | mount.ceph.rst | |
f67539c2 | 15 | mount.fuse.ceph.rst |
11fdf7f2 | 16 | ceph-create-keys.rst) |
7c673cae FG |
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 | |
b5b8bbf5 FG |
24 | ceph-volume.rst |
25 | ceph-volume-systemd.rst | |
7c673cae | 26 | ceph-osd.rst |
20effc67 | 27 | crushdiff.rst |
3efd9988 FG |
28 | osdmaptool.rst |
29 | ceph-bluestore-tool.rst) | |
7c673cae FG |
30 | |
31 | set(mon_srcs | |
32 | ceph-mon.rst | |
33 | monmaptool.rst) | |
34 | ||
35 | list(APPEND man_srcs | |
36 | ${client_srcs} | |
37 | ${server_srcs} | |
38 | ${osd_srcs} | |
39 | ${mon_srcs} | |
40 | ceph-mds.rst | |
f67539c2 | 41 | cephfs-top.rst |
1911f103 | 42 | librados-config.rst |
f67539c2 TL |
43 | cephadm.rst |
44 | cephfs-mirror.rst) | |
7c673cae | 45 | |
20effc67 TL |
46 | if(WITH_CEPHFS_SHELL) |
47 | list(APPEND man_srcs | |
48 | cephfs-shell.rst) | |
49 | endif() | |
50 | ||
7c673cae FG |
51 | if(HAVE_LIBFUSE) |
52 | list(APPEND man_srcs | |
53 | ceph-fuse.rst | |
54 | rbd-fuse.rst) | |
55 | endif() | |
56 | ||
57 | if(WITH_RADOSGW) | |
58 | list(APPEND man_srcs | |
59 | radosgw.rst | |
e306af50 TL |
60 | radosgw-admin.rst |
61 | rgw-orphan-list.rst | |
1e59de90 | 62 | rgw-policy-check.rst |
e306af50 | 63 | ceph-diff-sorted.rst) |
7c673cae FG |
64 | endif() |
65 | ||
66 | if(WITH_RBD) | |
67 | list(APPEND man_srcs | |
68 | ceph-rbdnamer.rst | |
69 | rbd-mirror.rst | |
7c673cae FG |
70 | rbd-replay-many.rst |
71 | rbd-replay-prep.rst | |
72 | rbd-replay.rst | |
73 | rbdmap.rst | |
74 | rbd.rst) | |
d2e6a577 FG |
75 | if(LINUX) |
76 | list(APPEND man_srcs rbd-nbd.rst) | |
77 | endif() | |
78 | if(FREEBSD) | |
79 | list(APPEND man_srcs rbd-ggate.rst) | |
80 | endif() | |
7c673cae FG |
81 | endif() |
82 | ||
9f95a23c | 83 | list(APPEND man_srcs ceph-immutable-object-cache.rst) |
7c673cae FG |
84 | foreach(man ${man_srcs}) |
85 | list(APPEND sphinx_input ${CMAKE_CURRENT_SOURCE_DIR}/${man}) | |
86 | # mount.ceph.rst => mount if we use | |
87 | # get_filename_component(cmd ${man} NAME_WE) | |
88 | string(REGEX REPLACE ".rst$" "" cmd ${man}) | |
89 | list(APPEND sphinx_output ${sphinx_output_dir}/${cmd}.8) | |
90 | install(FILES ${sphinx_output_dir}/${cmd}.8 | |
91 | DESTINATION ${CEPH_MAN_DIR}/man8) | |
92 | endforeach() | |
93 | ||
94 | set(sphinx_input ${sphinx_input} PARENT_SCOPE) | |
95 | set(sphinx_output ${sphinx_output} PARENT_SCOPE) |