Add a release target

This commit is contained in:
jkeating@reducto.boston.redhat.com 2007-02-15 18:19:20 -05:00 committed by Jesse Keating
parent faed64b3f9
commit 8fa5b7eb85
1 changed files with 3 additions and 1 deletions

View File

@ -27,13 +27,15 @@ srpm: archive
@rpmbuild -bs ${PKGRPMFLAGS} ${PKGNAME}.spec
@echo "The srpm is in $(SRPM)"
rpm: archive tag
rpm: archive
@rpmbuild --clean -bb ${PKGRPMFLAGS} ${PKGNAME}.spec
@echo "The rpm is in $(RPM)"
rpminstall: rpm
@rpm -ivh --force $(RPM)
release: tag srpm
clean:
@rm -f *.rpm
@rm -rf noarch