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
|
||||
|
||||
sign: $(RPM)
|
||||
rpm --addsign $<
|
||||
rpm -K $<
|
||||
sha256sum $<
|
||||
|
||||
$(RPM): $(SPECFILE) $(source)
|
||||
rpmbuild -bb $<
|
||||
|
@ -23,10 +27,4 @@ $(source):
|
|||
clean:
|
||||
rm $(RPM) $(source)
|
||||
|
||||
install:
|
||||
ansible-playbook install.yml
|
||||
|
||||
setup:
|
||||
ansible-playbook setup.yml
|
||||
|
||||
.PHONY: clean install setup
|
||||
.PHONY: clean sign
|
||||
|
|
Loading…
Reference in a new issue