]> git.proxmox.com Git - ceph.git/blob - ceph/doc/man/8/CMakeLists.txt
update sources to ceph Nautilus 14.2.1
[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 ceph-deploy.rst
13 crushtool.rst
14 ceph-run.rst
15 mount.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 osdmaptool.rst
28 ceph-bluestore-tool.rst)
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
40 librados-config.rst)
41
42 if(HAVE_LIBFUSE)
43 list(APPEND man_srcs
44 ceph-fuse.rst
45 rbd-fuse.rst)
46 endif()
47
48 if(WITH_RADOSGW)
49 list(APPEND man_srcs
50 radosgw.rst
51 radosgw-admin.rst)
52 endif()
53
54 if(WITH_RBD)
55 list(APPEND man_srcs
56 ceph-rbdnamer.rst
57 rbd-mirror.rst
58 rbd-replay-many.rst
59 rbd-replay-prep.rst
60 rbd-replay.rst
61 rbdmap.rst
62 rbd.rst)
63 if(LINUX)
64 list(APPEND man_srcs rbd-nbd.rst)
65 endif()
66 if(FREEBSD)
67 list(APPEND man_srcs rbd-ggate.rst)
68 endif()
69 endif()
70
71 foreach(man ${man_srcs})
72 list(APPEND sphinx_input ${CMAKE_CURRENT_SOURCE_DIR}/${man})
73 # mount.ceph.rst => mount if we use
74 # get_filename_component(cmd ${man} NAME_WE)
75 string(REGEX REPLACE ".rst$" "" cmd ${man})
76 list(APPEND sphinx_output ${sphinx_output_dir}/${cmd}.8)
77 install(FILES ${sphinx_output_dir}/${cmd}.8
78 DESTINATION ${CEPH_MAN_DIR}/man8)
79 endforeach()
80
81 set(sphinx_input ${sphinx_input} PARENT_SCOPE)
82 set(sphinx_output ${sphinx_output} PARENT_SCOPE)