]> git.proxmox.com Git - ceph.git/blob - ceph/doc/man/8/CMakeLists.txt
update sources to v12.1.3
[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 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-replay-many.rst
58 rbd-replay-prep.rst
59 rbd-replay.rst
60 rbdmap.rst
61 rbd.rst)
62 if(LINUX)
63 list(APPEND man_srcs rbd-nbd.rst)
64 endif()
65 if(FREEBSD)
66 list(APPEND man_srcs rbd-ggate.rst)
67 endif()
68 endif()
69
70 foreach(man ${man_srcs})
71 list(APPEND sphinx_input ${CMAKE_CURRENT_SOURCE_DIR}/${man})
72 # mount.ceph.rst => mount if we use
73 # get_filename_component(cmd ${man} NAME_WE)
74 string(REGEX REPLACE ".rst$" "" cmd ${man})
75 list(APPEND sphinx_output ${sphinx_output_dir}/${cmd}.8)
76 install(FILES ${sphinx_output_dir}/${cmd}.8
77 DESTINATION ${CEPH_MAN_DIR}/man8)
78 endforeach()
79
80 set(sphinx_input ${sphinx_input} PARENT_SCOPE)
81 set(sphinx_output ${sphinx_output} PARENT_SCOPE)