github.com/rita33cool1/iot-system-gateway@v0.0.0-20200911033302-e65bde238cc5/docker-engine/contrib/selinux-fedora-24/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