Skip to content

Commit

Permalink
cmake: install rbd-replay-many and its manpage
Browse files Browse the repository at this point in the history
rpm packaging needs it explicitly.

Signed-off-by: Kefu Chai <kchai@redhat.com>
  • Loading branch information
tchaikov committed Jun 30, 2016
1 parent 5850687 commit e50460b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions doc/man/8/CMakeLists.txt
Expand Up @@ -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
Expand Down
7 changes: 5 additions & 2 deletions src/CMakeLists.txt
Expand Up @@ -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})

Expand Down

0 comments on commit e50460b

Please sign in to comment.