diff options
author | Aaron Conole <aconole@redhat.com> | 2018-02-19 10:14:22 -0500 |
---|---|---|
committer | Ansis Atteka <aatteka@ovn.org> | 2018-02-23 10:13:29 -0800 |
commit | ee29e9feb235136f0055c124d87bd9a68bf8e71a (patch) | |
tree | 56393d3e782ce5fef0c9b99d114671201137fead /selinux | |
parent | eb84ccc3e8613c35dc1c637ea1b357eb4eb7d25f (diff) | |
download | openvswitch-ee29e9feb235136f0055c124d87bd9a68bf8e71a.tar.gz |
selinux: add a new target to build the policy
The selinux policy currently builds manually, as a process that either
the user or distribution maintainer undertakes. That process consists
of:
1. Convert the intermediary files into their file form through
'make' statements at the top level.
2. Change to the selinux directory and issue the selinux "make -f"
directive.
This commit introduces a new target 'selinux-policy' which builds the
openvswitch-custom policy files.
Signed-off-by: Aaron Conole <aconole@redhat.com>
Acked-by: Ansis Atteka <aatteka@ovn.org>
Diffstat (limited to 'selinux')
-rw-r--r-- | selinux/automake.mk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/selinux/automake.mk b/selinux/automake.mk index e8871aa97..48853cdc0 100644 --- a/selinux/automake.mk +++ b/selinux/automake.mk @@ -7,3 +7,8 @@ EXTRA_DIST += \ selinux/openvswitch-custom.te.in + +PHONY: selinux-policy + +selinux-policy: selinux/openvswitch-custom.te + $(MAKE) -C selinux/ -f /usr/share/selinux/devel/Makefile |