]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | set(client_srcs |
2 | ceph-syn.rst | |
3 | ceph-conf.rst | |
4 | ceph.rst | |
5 | ceph-authtool.rst | |
6 | rados.rst | |
7 | ceph-post-file.rst | |
8 | ceph-dencoder.rst) | |
9 | ||
10 | set(server_srcs | |
11 | ceph-deploy.rst | |
12 | crushtool.rst | |
13 | ceph-run.rst | |
14 | mount.ceph.rst | |
15 | ceph-create-keys.rst | |
16 | ceph-rest-api.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-detect-init.rst | |
25 | ceph-disk.rst | |
26 | ceph-osd.rst | |
27 | osdmaptool.rst) | |
28 | ||
29 | set(mon_srcs | |
30 | ceph-mon.rst | |
31 | monmaptool.rst) | |
32 | ||
33 | list(APPEND man_srcs | |
34 | ${client_srcs} | |
35 | ${server_srcs} | |
36 | ${osd_srcs} | |
37 | ${mon_srcs} | |
38 | ceph-mds.rst | |
39 | librados-config.rst) | |
40 | ||
41 | if(HAVE_LIBFUSE) | |
42 | list(APPEND man_srcs | |
43 | ceph-fuse.rst | |
44 | rbd-fuse.rst) | |
45 | endif() | |
46 | ||
47 | if(WITH_RADOSGW) | |
48 | list(APPEND man_srcs | |
49 | radosgw.rst | |
50 | radosgw-admin.rst) | |
51 | endif() | |
52 | ||
53 | if(WITH_RBD) | |
54 | list(APPEND man_srcs | |
55 | ceph-rbdnamer.rst | |
56 | rbd-mirror.rst | |
57 | rbd-nbd.rst | |
58 | rbd-replay-many.rst | |
59 | rbd-replay-prep.rst | |
60 | rbd-replay.rst | |
61 | rbdmap.rst | |
62 | rbd.rst) | |
63 | endif() | |
64 | ||
65 | foreach(man ${man_srcs}) | |
66 | list(APPEND sphinx_input ${CMAKE_CURRENT_SOURCE_DIR}/${man}) | |
67 | # mount.ceph.rst => mount if we use | |
68 | # get_filename_component(cmd ${man} NAME_WE) | |
69 | string(REGEX REPLACE ".rst$" "" cmd ${man}) | |
70 | list(APPEND sphinx_output ${sphinx_output_dir}/${cmd}.8) | |
71 | install(FILES ${sphinx_output_dir}/${cmd}.8 | |
72 | DESTINATION ${CEPH_MAN_DIR}/man8) | |
73 | endforeach() | |
74 | ||
75 | set(sphinx_input ${sphinx_input} PARENT_SCOPE) | |
76 | set(sphinx_output ${sphinx_output} PARENT_SCOPE) |