]> git.proxmox.com Git - ceph.git/blob - ceph/doc/man/8/CMakeLists.txt
update sources to 12.2.2
[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-volume.rst
27 ceph-volume-systemd.rst
28 ceph-osd.rst
29 osdmaptool.rst
30 ceph-bluestore-tool.rst)
31
32 set(mon_srcs
33 ceph-mon.rst
34 monmaptool.rst)
35
36 list(APPEND man_srcs
37 ${client_srcs}
38 ${server_srcs}
39 ${osd_srcs}
40 ${mon_srcs}
41 ceph-mds.rst
42 librados-config.rst)
43
44 if(HAVE_LIBFUSE)
45 list(APPEND man_srcs
46 ceph-fuse.rst
47 rbd-fuse.rst)
48 endif()
49
50 if(WITH_RADOSGW)
51 list(APPEND man_srcs
52 radosgw.rst
53 radosgw-admin.rst)
54 endif()
55
56 if(WITH_RBD)
57 list(APPEND man_srcs
58 ceph-rbdnamer.rst
59 rbd-mirror.rst
60 rbd-replay-many.rst
61 rbd-replay-prep.rst
62 rbd-replay.rst
63 rbdmap.rst
64 rbd.rst)
65 if(LINUX)
66 list(APPEND man_srcs rbd-nbd.rst)
67 endif()
68 if(FREEBSD)
69 list(APPEND man_srcs rbd-ggate.rst)
70 endif()
71 endif()
72
73 foreach(man ${man_srcs})
74 list(APPEND sphinx_input ${CMAKE_CURRENT_SOURCE_DIR}/${man})
75 # mount.ceph.rst => mount if we use
76 # get_filename_component(cmd ${man} NAME_WE)
77 string(REGEX REPLACE ".rst$" "" cmd ${man})
78 list(APPEND sphinx_output ${sphinx_output_dir}/${cmd}.8)
79 install(FILES ${sphinx_output_dir}/${cmd}.8
80 DESTINATION ${CEPH_MAN_DIR}/man8)
81 endforeach()
82
83 set(sphinx_input ${sphinx_input} PARENT_SCOPE)
84 set(sphinx_output ${sphinx_output} PARENT_SCOPE)