]> git.proxmox.com Git - ceph.git/blame - ceph/doc/man/8/CMakeLists.txt
bump version to 12.1.2-pve1
[ceph.git] / ceph / doc / man / 8 / CMakeLists.txt
CommitLineData
7c673cae
FG
1set(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
10set(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)
17if(WITH_TESTS)
18list(APPEND server_srcs
19 ceph-debugpack.rst)
20endif(WITH_TESTS)
21
22set(osd_srcs
23 ceph-clsinfo.rst
24 ceph-detect-init.rst
25 ceph-disk.rst
26 ceph-osd.rst
27 osdmaptool.rst)
28
29set(mon_srcs
30 ceph-mon.rst
31 monmaptool.rst)
32
33list(APPEND man_srcs
34 ${client_srcs}
35 ${server_srcs}
36 ${osd_srcs}
37 ${mon_srcs}
38 ceph-mds.rst
39 librados-config.rst)
40
41if(HAVE_LIBFUSE)
42 list(APPEND man_srcs
43 ceph-fuse.rst
44 rbd-fuse.rst)
45endif()
46
47if(WITH_RADOSGW)
48 list(APPEND man_srcs
49 radosgw.rst
50 radosgw-admin.rst)
51endif()
52
53if(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)
63endif()
64
65foreach(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)
73endforeach()
74
75set(sphinx_input ${sphinx_input} PARENT_SCOPE)
76set(sphinx_output ${sphinx_output} PARENT_SCOPE)