aboutsummaryrefslogtreecommitdiff
path: root/contrib/rpm/Makefile
blob: 24bbca28c27b42769dc2febdf6e92ed0fd63cea9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
.PHONY: dist
dist: crio.spec
	spectool -g crio.spec

.PHONY: rpm
rpm: dist
	rpmbuild --define "_sourcedir `pwd`" --define "_specdir `pwd`" \
	--define "_rpmdir `pwd`" --define "_srcrpmdir `pwd`" -ba crio.spec

all: rpm

clean:
	rm -f *rpm *gz
	rm -rf x86_64