From e46810bca5bc7a049110ab04a0ba7ca59bedd55a Mon Sep 17 00:00:00 2001 From: Tim Hockin Date: Tue, 19 Jan 2021 15:32:31 -0800 Subject: [PATCH] Make: $(foo:-) is shell, not makefile syntax Driving towards `make --warn-undefined-variables`. --- build/root/Makefile.generated_files | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/root/Makefile.generated_files b/build/root/Makefile.generated_files index 1898d3a9e6c..59f1fdf68eb 100644 --- a/build/root/Makefile.generated_files +++ b/build/root/Makefile.generated_files @@ -581,7 +581,7 @@ endif # The Make rule fails if generated API rule violation report differs from the # checked-in violation file, and prints error message to request developer to # fix either the API source code, or the known API rule violation file. -$$($(prefix)_OPENAPI_OUTFILE): $(OPENAPI_GEN) $($(prefix)_KNOWN_VIOLATION_FILENAME:-) +$$($(prefix)_OPENAPI_OUTFILE): $(OPENAPI_GEN) $($(prefix)_KNOWN_VIOLATION_FILENAME) ./hack/run-in-gopath.sh $(OPENAPI_GEN) \ --v $(KUBE_VERBOSE) \ --logtostderr \