cmake: install rbd-replay-many and its manpage

rpm packaging needs it explicitly.

Signed-off-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
Kefu Chai 2016-06-30 22:41:49 +08:00
parent 5850687875
commit e50460b69e
2 changed files with 6 additions and 2 deletions

View 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

View 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})