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
|
@rpmbuild -bs ${PKGRPMFLAGS} ${PKGNAME}.spec
|
||||||
@echo "The srpm is in $(SRPM)"
|
@echo "The srpm is in $(SRPM)"
|
||||||
|
|
||||||
rpm: archive tag
|
rpm: archive
|
||||||
@rpmbuild --clean -bb ${PKGRPMFLAGS} ${PKGNAME}.spec
|
@rpmbuild --clean -bb ${PKGRPMFLAGS} ${PKGNAME}.spec
|
||||||
@echo "The rpm is in $(RPM)"
|
@echo "The rpm is in $(RPM)"
|
||||||
|
|
||||||
rpminstall: rpm
|
rpminstall: rpm
|
||||||
@rpm -ivh --force $(RPM)
|
@rpm -ivh --force $(RPM)
|
||||||
|
|
||||||
|
release: tag srpm
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
@rm -f *.rpm
|
@rm -f *.rpm
|
||||||
@rm -rf noarch
|
@rm -rf noarch
|
||||||
|
Loading…
Reference in New Issue
Block a user