chantra / rpms / rpm

Forked from rpms/rpm 2 years ago
Clone
71fc9b
TARGETS ?= rpm_hs
71fc9b
SHARE ?= /usr/share
71fc9b
MODULES ?= ${TARGETS:=.pp.bz2}
71fc9b
71fc9b
all: ${TARGETS:=.pp.bz2}
71fc9b
71fc9b
%.pp.bz2: %.pp
71fc9b
	@echo Compressing $^ -\ $@
71fc9b
	bzip2 -9 $^
71fc9b
71fc9b
%.pp: %.te
71fc9b
	make -f ${SHARE}/selinux/devel/Makefile $@
71fc9b
71fc9b
clean:
71fc9b
	rm -f *~ *.tc *.pp *.pp.bz2
71fc9b
	rm -rf tmp