]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
cmake: install rbd-replay-many and its manpage 10059/head
authorKefu Chai <kchai@redhat.com>
Thu, 30 Jun 2016 14:41:49 +0000 (22:41 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 30 Jun 2016 16:15:37 +0000 (00:15 +0800)
rpm packaging needs it explicitly.

Signed-off-by: Kefu Chai <kchai@redhat.com>
doc/man/8/CMakeLists.txt
src/CMakeLists.txt

index 87e2419913428d9bb1fba91ab5613d728d2ca666..677319a05d8673f4f7b5e52b60f1c9b334c2d2ef 100644 (file)
@@ -61,6 +61,7 @@ if(WITH_RBD)
        ceph-rbdnamer.rst
        rbd-mirror.rst
        rbd-nbd.rst
+       rbd-replay-many.rst
        rbd-replay-prep.rst
        rbd-replay.rst
        rbdmap.rst
index 48cdf981fb5b2e560e520ff0117e3edb8b0ae42d..201b1be2e059eb77524c9c89179ffb8ed89db91c 100644 (file)
@@ -1327,8 +1327,11 @@ if(${WITH_RBD})
     ${Boost_REGEX_LIBRARY} ${Boost_PROGRAM_OPTIONS_LIBRARY}
     ${BLKID_LIBRARIES} ${CMAKE_DL_LIBS})
   install(TARGETS rbd rbd-nbd rbd-mirror DESTINATION bin)
-  install(PROGRAMS ${CMAKE_SOURCE_DIR}/src/ceph-rbdnamer DESTINATION bin)
-  install(PROGRAMS ${CMAKE_SOURCE_DIR}/src/rbdmap DESTINATION bin)
+  install(PROGRAMS
+    ${CMAKE_SOURCE_DIR}/src/ceph-rbdnamer
+    ${CMAKE_SOURCE_DIR}/src/rbd-replay-many
+    ${CMAKE_SOURCE_DIR}/src/rbdmap
+    DESTINATION ${CMAKE_INSTALL_BINDIR})
   add_subdirectory(rbd_replay)
 endif(${WITH_RBD})