blob: 201a448a95da5c3edb8f65aaf21e68dac440a1b1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
POLICY_MAKEFILE = /usr/share/selinux/devel/Makefile
POLICY_DIR = $(DESTDIR)/usr/share/selinux/targeted
all:
if [ ! -e $(POLICY_MAKEFILE) ]; then echo "You need to install the SELinux development tools (selinux-policy-devel)" && exit 1; fi
$(MAKE) -f $(POLICY_MAKEFILE) || exit 1;
clean:
rm -rf tmp
rm pki.pp
install: all
install -d $(POLICY_DIR)
install -m 644 pki.pp $(POLICY_DIR)
load:
/usr/sbin/semodule -i pki.pp
|