ceph/selinux/Makefile.am
Boris Ranto 03d7a65b94 SELinux Makefile can't work in parallel
We need to force single-core compilation of SELinux policy files in the
sub-make target as SELinux Makefile does not work properly when run in
parallel mode.

Signed-off-by: Boris Ranto <branto@redhat.com>
2015-08-05 15:21:47 +02:00

23 lines
477 B
Makefile

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