Skip to content

Commit

Permalink
Install other utilities to $prefix/bin
Browse files Browse the repository at this point in the history
oscap-chroot, oscap-ssh, oscap-vm, scap-as-rpm
  • Loading branch information
jan-cerny committed Nov 14, 2017
1 parent c9d764d commit 4168330
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions utils/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ if(ENABLE_OSCAP_UTIL)
)
endif()
if(ENABLE_OSCAP_UTIL_CHROOT)
install(PROGRAMS "oscap-chroot"
DESTINATION ${CMAKE_INSTALL_BINDIR}
)
install(FILES "oscap-chroot.8"
DESTINATION "${CMAKE_INSTALL_MANDIR}/man8"
)
Expand All @@ -22,16 +25,25 @@ if(ENABLE_OSCAP_UTIL_DOCKER)
)
endif()
if(ENABLE_OSCAP_UTIL_SSH)
install(PROGRAMS "oscap-ssh"
DESTINATION ${CMAKE_INSTALL_BINDIR}
)
install(FILES "oscap-ssh.8"
DESTINATION "${CMAKE_INSTALL_MANDIR}/man8"
)
endif()
if(ENABLE_OSCAP_UTIL_VM)
install(PROGRAMS "oscap-vm"
DESTINATION ${CMAKE_INSTALL_BINDIR}
)
install(FILES "oscap-vm.8"
DESTINATION "${CMAKE_INSTALL_MANDIR}/man8"
)
endif()
if(ENABLE_OSCAP_UTIL_AS_RPM)
install(PROGRAMS "scap-as-rpm"
DESTINATION ${CMAKE_INSTALL_BINDIR}
)
install(FILES "scap-as-rpm.8"
DESTINATION "${CMAKE_INSTALL_MANDIR}/man8"
)
Expand Down

0 comments on commit 4168330

Please sign in to comment.