summaryrefslogtreecommitdiffstats
path: root/selinux/Makefile.am
blob: 280e7ecd4be6d56361af3250ca0598ed750e3778 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
EXTRA_DIST = \
	ceph.te \
	ceph.fc \
	ceph.if

SELINUXROOT = $(DESTDIR)$(datadir)/selinux

ceph.pp: ceph.te ceph.fc ceph.if
	$(MAKE) -j1 -f $(datadir)/selinux/devel/Makefile ceph.pp

if ENABLE_SERVER
if WITH_SELINUX
all-local: ceph.pp

install-exec-local:
	$(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