github.com/jen20/docker@v1.13.1/contrib/selinux-oraclelinux-7/docker-engine-selinux/Makefile (about) 1 TARGETS?=docker 2 MODULES?=${TARGETS:=.pp.bz2} 3 SHAREDIR?=/usr/share 4 5 all: ${TARGETS:=.pp.bz2} 6 7 %.pp.bz2: %.pp 8 @echo Compressing $^ -\> $@ 9 bzip2 -9 $^ 10 11 %.pp: %.te 12 make -f ${SHAREDIR}/selinux/devel/Makefile $@ 13 14 clean: 15 rm -f *~ *.tc *.pp *.pp.bz2 16 rm -rf tmp *.tar.gz 17 18 man: install 19 sepolicy manpage --domain ${TARGETS}_t 20 21 install: 22 semodule -i ${TARGETS} 23