mirror of
https://github.com/ceph/ceph
synced 2024-12-27 14:03:25 +00:00
af902ec962
Signed-off-by: Kefu Chai <kchai@redhat.com>
12 lines
375 B
CMake
12 lines
375 B
CMake
add_custom_target(
|
|
ceph.pp ALL
|
|
COMMAND ln -sf ${CMAKE_CURRENT_SOURCE_DIR}/ceph.* .
|
|
COMMAND make -f ${SELINUX_MAKEFILE} ceph.pp
|
|
DEPENDS ceph.te ceph.fc ceph.if)
|
|
|
|
set(datadir ${CMAKE_INSTALL_PREFIX}/share/selinux)
|
|
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/ceph.pp
|
|
DESTINATION ${datadir}/packages)
|
|
install(FILES ceph.if
|
|
DESTINATION ${datadir}/devel/include/contrib)
|