diff --git a/Makefile b/Makefile index 05fa4db..eaeb386 100644 --- a/Makefile +++ b/Makefile @@ -32,6 +32,9 @@ echo: pre ## Print the passed (or computed) parameters @echo LOCAL HASH $(LOCALHASH) @echo RELEASE $(RELEASE) +patch: pre ## Build the latest patch + git diff $(PWD)/SOURCES/cephadm > $(PWD)/SOURCES/cephadm-$(VERSION)-$(RELEASE).patch + spec: pre ## Patch and build the cephadm spec file sed SPECS/cephadm.spec.in \ -e "s/$(LOCALHASH)/$(REMOTEHASH)/" \