summaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
authorSage Weil <sage@redhat.com>2015-03-19 19:31:31 +0100
committerSage Weil <sage@redhat.com>2015-03-19 19:31:31 +0100
commitcfecd125fe1846187285a640328f53ff70d33cca (patch)
tree67478dcc531a658786f0da65e6655f72db74bde2 /man
parentMerge pull request #4105 from athanatos/wip-11110 (diff)
parentCompile test_build_librgw only if WITH_BUILD_TESTS (diff)
downloadceph-cfecd125fe1846187285a640328f53ff70d33cca.tar.xz
ceph-cfecd125fe1846187285a640328f53ff70d33cca.zip
Merge pull request #3988 from ceph/wip-refine-build-configuration-hammer
Refine build configuration for hammer Reviewed-by: Sage Weil <sage@redhat.com>
Diffstat (limited to 'man')
-rw-r--r--man/Makefile-client.am39
-rw-r--r--man/Makefile-server.am26
-rw-r--r--man/Makefile.am41
3 files changed, 74 insertions, 32 deletions
diff --git a/man/Makefile-client.am b/man/Makefile-client.am
new file mode 100644
index 00000000000..14200f5a8ce
--- /dev/null
+++ b/man/Makefile-client.am
@@ -0,0 +1,39 @@
+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
diff --git a/man/Makefile-server.am b/man/Makefile-server.am
new file mode 100644
index 00000000000..794275b5431
--- /dev/null
+++ b/man/Makefile-server.am
@@ -0,0 +1,26 @@
+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
diff --git a/man/Makefile.am b/man/Makefile.am
index 4c8b20ffe8d..64f07cc8645 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -1,34 +1,11 @@
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 =
+
+if ENABLE_CLIENT
+include Makefile-client.am
+endif
+
+if ENABLE_SERVER
+include Makefile-server.am
+endif