From 73a4f33ccef25fdb5570307843988201523bd60e Mon Sep 17 00:00:00 2001 From: Stefan VanBuren Date: Wed, 11 Mar 2026 09:20:14 -0400 Subject: [PATCH] Fix Makefile rebuilding all tools when any tool is installed Ported from @timostamm's fix in the referenced PR. Ref: bufbuild/protovalidate#476 --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 279c8cd..0b7960f 100644 --- a/Makefile +++ b/Makefile @@ -96,11 +96,11 @@ $(TESTDATA_FILE): $(BIN): @mkdir -p $(BIN) -$(BIN)/buf: $(BIN) Makefile +$(BIN)/buf: Makefile | $(BIN) go install github.com/bufbuild/buf/cmd/buf@v${BUF_VERSION} -$(BIN)/license-header: $(BIN) Makefile +$(BIN)/license-header: Makefile | $(BIN) go install github.com/bufbuild/buf/private/pkg/licenseheader/cmd/license-header@v${BUF_VERSION} -$(BIN)/protovalidate-conformance: $(BIN) Makefile +$(BIN)/protovalidate-conformance: Makefile | $(BIN) go install github.com/bufbuild/protovalidate/tools/protovalidate-conformance@$(PROTOVALIDATE_VERSION)