Fix some bugs when testing opensds ansible
[stor4nfv.git] / src / ceph / selinux / CMakeLists.txt
1 add_custom_target(
2   ceph.pp ALL
3   COMMAND ln -sf ${CMAKE_CURRENT_SOURCE_DIR}/ceph.* .
4   COMMAND make -f ${SELINUX_MAKEFILE} ceph.pp
5   DEPENDS ceph.te ceph.fc ceph.if)
6
7 set(datadir ${CMAKE_INSTALL_PREFIX}/share/selinux)
8 install(FILES ${CMAKE_CURRENT_BINARY_DIR}/ceph.pp
9   DESTINATION ${datadir}/packages)
10 install(FILES ceph.if
11   DESTINATION ${datadir}/devel/include/contrib)