mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 14:37:00 +00:00
Fix make help
This commit is contained in:
parent
647c00333d
commit
e042a42270
@ -425,7 +425,7 @@ define CMD_HELP_INFO
|
|||||||
# make kubectl kube-proxy
|
# make kubectl kube-proxy
|
||||||
endef
|
endef
|
||||||
#TODO: make EXCLUDE_TARGET auto-generated when there are other files in cmd/
|
#TODO: make EXCLUDE_TARGET auto-generated when there are other files in cmd/
|
||||||
EXCLUDE_TARGET=OWNERS
|
EXCLUDE_TARGET=BUILD OWNERS
|
||||||
.PHONY: $(filter-out %$(EXCLUDE_TARGET),$(notdir $(abspath $(wildcard cmd/*/))))
|
.PHONY: $(filter-out %$(EXCLUDE_TARGET),$(notdir $(abspath $(wildcard cmd/*/))))
|
||||||
ifeq ($(PRINT_HELP),y)
|
ifeq ($(PRINT_HELP),y)
|
||||||
$(filter-out %$(EXCLUDE_TARGET),$(notdir $(abspath $(wildcard cmd/*/)))):
|
$(filter-out %$(EXCLUDE_TARGET),$(notdir $(abspath $(wildcard cmd/*/)))):
|
||||||
@ -557,14 +557,14 @@ bazel-test-integration:
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(PRINT_HELP),y)
|
ifeq ($(PRINT_HELP),y)
|
||||||
define BAZEL_BUILD_HELP_INFO
|
define BAZEL_RELEASE_HELP_INFO
|
||||||
# Build release tars with bazel
|
# Build release tars with bazel
|
||||||
#
|
#
|
||||||
# Example:
|
# Example:
|
||||||
# make bazel-release
|
# make bazel-release
|
||||||
endef
|
endef
|
||||||
bazel-release:
|
bazel-release:
|
||||||
@echo "$$BAZEL_BUILD_HELP_INFO"
|
@echo "$$BAZEL_RELEASE_HELP_INFO"
|
||||||
else
|
else
|
||||||
bazel-release:
|
bazel-release:
|
||||||
bazel build //build/release-tars
|
bazel build //build/release-tars
|
||||||
|
Loading…
Reference in New Issue
Block a user