Signed-off-by: Kefu Chai <kchai@redhat.com>
-list(APPEND man_srcs
- ceph-osd.rst
- ceph-mds.rst
- ceph-mon.rst
+set(client_srcs
ceph-syn.rst
- crushtool.rst
- osdmaptool.rst
- monmaptool.rst
ceph-conf.rst
- ceph-run.rst
ceph.rst
- mount.ceph.rst
- ceph-create-keys.rst
- radosgw.rst
- radosgw-admin.rst
ceph-authtool.rst
rados.rst
- librados-config.rst
- ceph-clsinfo.rst
- ceph-debugpack.rst
- cephfs.rst
- ceph-dencoder.rst
+ ceph-post-file.rst
+ ceph-dencoder.rst)
+
+set(server_srcs
+ ceph-deploy.rst
+ crushtool.rst
+ ceph-run.rst
+ mount.ceph.rst
+ ceph-create-keys.rst
ceph-rest-api.rst
- ceph-post-file.rst)
+ ceph-debugpack.rst)
+
+set(osd_srcs
+ ceph-clsinfo.rst
+ ceph-detect-init.rst
+ ceph-disk.rst
+ ceph-osd.rst
+ osdmaptool.rst)
+
+set(mon_srcs
+ ceph-mon.rst
+ monmaptool.rst)
+
+list(APPEND man_srcs
+ ${client_srcs}
+ ${server_srcs}
+ ${osd_srcs}
+ ${mon_srcs}
+ librados-config.rst)
+
+if(WITH_MDS)
+ list(APPEND man_srcs
+ ceph-mds.rst)
+endif()
+
+if(WITH_CEPHFS)
+ list(APPEND man_srcs
+ cephfs.rst)
+endif()
if(HAVE_LIBFUSE)
list(APPEND man_srcs
rbd-fuse.rst)
endif()
+if(WITH_RADOSGW)
+ list(APPEND man_srcs
+ radosgw.rst
+ radosgw-admin.rst)
+endif()
+
if(WITH_RBD)
list(APPEND man_srcs
ceph-rbdnamer.rst
+ rbd-mirror.rst
rbd-nbd.rst
rbd-replay-prep.rst
rbd-replay.rst