diff --git a/Makefile b/Makefile index 58444c7dda9..7c841242998 100644 --- a/Makefile +++ b/Makefile @@ -258,13 +258,11 @@ controller-gen: $(CONTROLLER_GEN) ## Download controller-gen locally if necessar $(CONTROLLER_GEN): $(LOCALBIN) test -s $(CONTROLLER_GEN) || GOBIN=$(LOCALBIN) go install sigs.k8s.io/controller-tools/cmd/controller-gen@$(CONTROLLER_GEN_VERSION) -## Download yq locally if necessary. +.PHONY: yq +yq: $(YQ) ## Download yq locally if necessary. $(YQ): $(LOCALBIN) test -s $(YQ) || GOBIN=$(LOCALBIN) go install github.com/mikefarah/yq/v4@$(YQ_VERSION) -.PHONY: yq -yq: $(YQ) - OPERATOR_SDK_DL_URL ?= https://github.com/operator-framework/operator-sdk/releases/download/$(OPERATOR_SDK_VERSION) .PHONY: operator-sdk operator-sdk: $(OPERATOR_SDK) ## Download and install operator-sdk