Add a release target
This commit is contained in:
parent
faed64b3f9
commit
8fa5b7eb85
4
Makefile
4
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
|
||||
|
Loading…
Reference in New Issue
Block a user