update Makefile to add signatures and remove old targets
This commit is contained in:
parent
5ba69005e6
commit
72d6089c33
1 changed files with 5 additions and 7 deletions
12
Makefile
12
Makefile
|
@ -13,6 +13,10 @@ source = $(RPMSOURCE)/$(version).tar.gz
|
||||||
|
|
||||||
RPM = $(RPMDIR)/$(ARCH)/$(PKGNAME)-$(version)-$(release).$(ARCH).rpm
|
RPM = $(RPMDIR)/$(ARCH)/$(PKGNAME)-$(version)-$(release).$(ARCH).rpm
|
||||||
|
|
||||||
|
sign: $(RPM)
|
||||||
|
rpm --addsign $<
|
||||||
|
rpm -K $<
|
||||||
|
sha256sum $<
|
||||||
|
|
||||||
$(RPM): $(SPECFILE) $(source)
|
$(RPM): $(SPECFILE) $(source)
|
||||||
rpmbuild -bb $<
|
rpmbuild -bb $<
|
||||||
|
@ -23,10 +27,4 @@ $(source):
|
||||||
clean:
|
clean:
|
||||||
rm $(RPM) $(source)
|
rm $(RPM) $(source)
|
||||||
|
|
||||||
install:
|
.PHONY: clean sign
|
||||||
ansible-playbook install.yml
|
|
||||||
|
|
||||||
setup:
|
|
||||||
ansible-playbook setup.yml
|
|
||||||
|
|
||||||
.PHONY: clean install setup
|
|
||||||
|
|
Loading…
Reference in a new issue