mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
Merge pull request #46913 from xiangpengzhao/fix-make-help
Automatic merge from submit-queue (batch tested with PRs 46913, 48910, 48858, 47160) Fix "make help" info **What this PR does / why we need it**: fixes some incorrect help info **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #46911 **Special notes for your reviewer**: **Release note**: ```release-note NONE ```
This commit is contained in:
commit
c29f6cb576
@ -425,7 +425,7 @@ define CMD_HELP_INFO
|
||||
# make kubectl kube-proxy
|
||||
endef
|
||||
#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/*/))))
|
||||
ifeq ($(PRINT_HELP),y)
|
||||
$(filter-out %$(EXCLUDE_TARGET),$(notdir $(abspath $(wildcard cmd/*/)))):
|
||||
@ -557,14 +557,14 @@ bazel-test-integration:
|
||||
endif
|
||||
|
||||
ifeq ($(PRINT_HELP),y)
|
||||
define BAZEL_BUILD_HELP_INFO
|
||||
define BAZEL_RELEASE_HELP_INFO
|
||||
# Build release tars with bazel
|
||||
#
|
||||
# Example:
|
||||
# make bazel-release
|
||||
endef
|
||||
bazel-release:
|
||||
@echo "$$BAZEL_BUILD_HELP_INFO"
|
||||
@echo "$$BAZEL_RELEASE_HELP_INFO"
|
||||
else
|
||||
bazel-release:
|
||||
bazel build //build/release-tars
|
||||
|
Loading…
Reference in New Issue
Block a user