]> git.proxmox.com Git - ceph.git/blob - ceph/doc/man/8/CMakeLists.txt
import quincy beta 17.1.0
[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 ceph-kvstore-tool.rst
7 rados.rst
8 ceph-post-file.rst
9 ceph-dencoder.rst)
10
11 set(server_srcs
12 crushtool.rst
13 ceph-run.rst
14 mount.ceph.rst
15 mount.fuse.ceph.rst
16 ceph-create-keys.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-volume.rst
25 ceph-volume-systemd.rst
26 ceph-osd.rst
27 crushdiff.rst
28 osdmaptool.rst
29 ceph-bluestore-tool.rst)
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
41 cephfs-top.rst
42 librados-config.rst
43 cephadm.rst
44 cephfs-mirror.rst)
45
46 if(WITH_CEPHFS_SHELL)
47 list(APPEND man_srcs
48 cephfs-shell.rst)
49 endif()
50
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
60 radosgw-admin.rst
61 rgw-orphan-list.rst
62 ceph-diff-sorted.rst)
63 endif()
64
65 if(WITH_RBD)
66 list(APPEND man_srcs
67 ceph-rbdnamer.rst
68 rbd-mirror.rst
69 rbd-replay-many.rst
70 rbd-replay-prep.rst
71 rbd-replay.rst
72 rbdmap.rst
73 rbd.rst)
74 if(LINUX)
75 list(APPEND man_srcs rbd-nbd.rst)
76 endif()
77 if(FREEBSD)
78 list(APPEND man_srcs rbd-ggate.rst)
79 endif()
80 endif()
81
82 list(APPEND man_srcs ceph-immutable-object-cache.rst)
83 foreach(man ${man_srcs})
84 list(APPEND sphinx_input ${CMAKE_CURRENT_SOURCE_DIR}/${man})
85 # mount.ceph.rst => mount if we use
86 # get_filename_component(cmd ${man} NAME_WE)
87 string(REGEX REPLACE ".rst$" "" cmd ${man})
88 list(APPEND sphinx_output ${sphinx_output_dir}/${cmd}.8)
89 install(FILES ${sphinx_output_dir}/${cmd}.8
90 DESTINATION ${CEPH_MAN_DIR}/man8)
91 endforeach()
92
93 set(sphinx_input ${sphinx_input} PARENT_SCOPE)
94 set(sphinx_output ${sphinx_output} PARENT_SCOPE)