update Makefile to add signatures and remove old targets

This commit is contained in:
Morgan McMillian 2023-02-28 13:46:05 -08:00
parent 5ba69005e6
commit 72d6089c33

View file

@ -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