]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
cmake: restructure and add missing manpages 9074/head
authorKefu Chai <kchai@redhat.com>
Thu, 12 May 2016 05:47:49 +0000 (13:47 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 12 May 2016 05:47:49 +0000 (13:47 +0800)
Signed-off-by: Kefu Chai <kchai@redhat.com>
doc/man/8/CMakeLists.txt

index abe76c16244d284723122dd3a86cfb36fbb18528..87e2419913428d9bb1fba91ab5613d728d2ca666 100644 (file)
@@ -1,27 +1,48 @@
-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
@@ -29,9 +50,16 @@ if(HAVE_LIBFUSE)
     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