]>
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 | |
12 | ceph-deploy.rst | |
13 | crushtool.rst | |
14 | ceph-run.rst | |
15 | mount.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 |
3efd9988 FG |
27 | osdmaptool.rst |
28 | ceph-bluestore-tool.rst) | |
7c673cae FG |
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 | |
1911f103 TL |
40 | librados-config.rst |
41 | cephadm.rst) | |
7c673cae FG |
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 | |
e306af50 TL |
52 | radosgw-admin.rst |
53 | rgw-orphan-list.rst | |
54 | ceph-diff-sorted.rst) | |
7c673cae FG |
55 | endif() |
56 | ||
57 | if(WITH_RBD) | |
58 | list(APPEND man_srcs | |
59 | ceph-rbdnamer.rst | |
60 | rbd-mirror.rst | |
7c673cae FG |
61 | rbd-replay-many.rst |
62 | rbd-replay-prep.rst | |
63 | rbd-replay.rst | |
64 | rbdmap.rst | |
65 | rbd.rst) | |
d2e6a577 FG |
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() | |
7c673cae FG |
72 | endif() |
73 | ||
9f95a23c | 74 | list(APPEND man_srcs ceph-immutable-object-cache.rst) |
7c673cae FG |
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) |