mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
24 lines
357 B
Makefile
24 lines
357 B
Makefile
|
TARGETS?=docker
|
||
|
MODULES?=${TARGETS:=.pp.bz2}
|
||
|
SHAREDIR?=/usr/share
|
||
|
|
||
|
all: ${TARGETS:=.pp.bz2}
|
||
|
|
||
|
%.pp.bz2: %.pp
|
||
|
@echo Compressing $^ -\> $@
|
||
|
bzip2 -9 $^
|
||
|
|
||
|
%.pp: %.te
|
||
|
make -f ${SHAREDIR}/selinux/devel/Makefile $@
|
||
|
|
||
|
clean:
|
||
|
rm -f *~ *.tc *.pp *.pp.bz2
|
||
|
rm -rf tmp *.tar.gz
|
||
|
|
||
|
man: install
|
||
|
sepolicy manpage --domain ${TARGETS}_t
|
||
|
|
||
|
install:
|
||
|
semodule -i ${TARGETS}
|
||
|
|