2015-05-15 13:18:05 +00:00
|
|
|
EXTRA_DIST = \
|
|
|
|
ceph.te \
|
|
|
|
ceph.fc \
|
|
|
|
ceph.if
|
|
|
|
|
|
|
|
SELINUXROOT = $(DESTDIR)$(datadir)/selinux
|
|
|
|
|
|
|
|
ceph.pp: ceph.te ceph.fc ceph.if
|
2015-07-25 12:05:43 +00:00
|
|
|
$(MAKE) -j1 -f $(datadir)/selinux/devel/Makefile ceph.pp
|
2015-05-15 13:18:05 +00:00
|
|
|
|
|
|
|
if ENABLE_SERVER
|
|
|
|
if WITH_SELINUX
|
2016-05-02 11:40:05 +00:00
|
|
|
all-local:: ceph.pp
|
2015-05-15 13:18:05 +00:00
|
|
|
|
2016-05-02 11:40:05 +00:00
|
|
|
install-exec-local::
|
2015-05-15 13:18:05 +00:00
|
|
|
$(INSTALL) -d $(SELINUXROOT)/packages
|
|
|
|
$(INSTALL) -m 644 ceph.pp $(SELINUXROOT)/packages/
|
|
|
|
$(INSTALL) -d $(SELINUXROOT)/devel/include/contrib
|
|
|
|
$(INSTALL) -m 644 ceph.if $(SELINUXROOT)/devel/include/contrib/
|
|
|
|
|
|
|
|
endif
|
|
|
|
endif
|