diff --git a/Makefile b/Makefile index ba0a1b26..9319e41b 100644 --- a/Makefile +++ b/Makefile @@ -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