]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Split Makefile.am in man
authorBoris Ranto <branto@redhat.com>
Thu, 15 Jan 2015 09:17:34 +0000 (10:17 +0100)
committerBoris Ranto <branto@redhat.com>
Thu, 5 Mar 2015 18:54:08 +0000 (19:54 +0100)
man/Makefile-client.am [new file with mode: 0644]
man/Makefile-server.am [new file with mode: 0644]
man/Makefile.am

diff --git a/man/Makefile-client.am b/man/Makefile-client.am
new file mode 100644 (file)
index 0000000..ebf6e92
--- /dev/null
@@ -0,0 +1,43 @@
+if ENABLE_CLIENT
+
+dist_man_MANS += \
+       ceph-syn.8 \
+       ceph-conf.8 \
+       ceph.8 \
+       ceph-authtool.8 \
+       rados.8 \
+       rbd.8 \
+       ceph-post-file.8 \
+       ceph-dencoder.8
+
+if WITH_RADOS
+dist_man_MANS += \
+       librados-config.8
+endif
+
+if WITH_RBD
+dist_man_MANS += \
+       ceph-rbdnamer.8 \
+       rbd-replay.8 \
+       rbd-replay-many.8 \
+       rbd-replay-prep.8
+endif
+
+if WITH_CEPHFS
+dist_man_MANS += \
+       cephfs.8
+endif
+
+if WITH_FUSE
+dist_man_MANS += \
+       rbd-fuse.8 \
+       ceph-fuse.8
+endif
+
+if WITH_RADOSGW
+dist_man_MANS += \
+       radosgw.8 \
+       radosgw-admin.8
+endif
+
+endif # ENABLE_CLIENT
diff --git a/man/Makefile-server.am b/man/Makefile-server.am
new file mode 100644 (file)
index 0000000..1394588
--- /dev/null
@@ -0,0 +1,30 @@
+if ENABLE_SERVER
+
+dist_man_MANS += \
+       ceph-deploy.8 \
+       crushtool.8 \
+       ceph-run.8 \
+       mount.ceph.8 \
+       ceph-rest-api.8 \
+       ceph-debugpack.8
+
+if WITH_MON
+dist_man_MANS += \
+       ceph-mon.8 \
+       monmaptool.8
+endif
+
+if WITH_OSD
+dist_man_MANS += \
+       ceph-clsinfo.8 \
+       ceph-disk.8 \
+       ceph-osd.8 \
+       osdmaptool.8
+endif
+
+if WITH_MDS
+dist_man_MANS += \
+       ceph-mds.8
+endif
+
+endif # ENABLE_SERVER
index 4c8b20ffe8d2a632ef0097d859262c48fc3e7304..2c2a5c3a38feca2653ad826b993d7bf1fcca6ec0 100644 (file)
@@ -1,34 +1,6 @@
 AUTOMAKE_OPTIONS = gnu
 
-dist_man_MANS = \
-       ceph-deploy.8 \
-       ceph-disk.8 \
-       ceph-osd.8 \
-       ceph-mds.8 \
-       ceph-mon.8 \
-       ceph-fuse.8 \
-       ceph-syn.8 \
-       crushtool.8 \
-       osdmaptool.8 \
-       monmaptool.8 \
-       ceph-conf.8 \
-       ceph-run.8 \
-       ceph.8 \
-       mount.ceph.8 \
-       radosgw.8 \
-       radosgw-admin.8 \
-       ceph-authtool.8 \
-       rados.8 \
-       librados-config.8 \
-       rbd.8 \
-       ceph-clsinfo.8 \
-       ceph-debugpack.8 \
-       cephfs.8 \
-       ceph-dencoder.8 \
-       ceph-rest-api.8 \
-       ceph-rbdnamer.8 \
-       ceph-post-file.8 \
-       rbd-fuse.8 \
-       rbd-replay.8 \
-       rbd-replay-many.8 \
-       rbd-replay-prep.8
+dist_man_MANS = 
+
+include arch/Makefile-client.am
+include auth/Makefile-server.am