Skip to content

Commit 73c08cd

Browse files
authored
Merge pull request #2077 from SataQiu/fix-makefile-20200116
🐛 code clean and bug fix for Makefile
2 parents 4791e00 + b95cc08 commit 73c08cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ LDFLAGS := $(shell hack/version.sh)
9191
all: test manager clusterctl
9292

9393
help: ## Display this help
94-
@awk 'BEGIN {FS = ":.*##"; printf "\nUsage:\n make \033[36m<target>\033[0m\n"} /^[a-zA-Z_-]+:.*?##/ { printf " \033[36m%-15s\033[0m %s\n", $$1, $$2 } /^##@/ { printf "\n\033[1m%s\033[0m\n", substr($$0, 5) } ' $(MAKEFILE_LIST)
94+
@awk 'BEGIN {FS = ":.*##"; printf "\nUsage:\n make \033[36m<target>\033[0m\n"} /^[a-zA-Z_-]+:.*?##/ { printf " \033[36m%-45s\033[0m %s\n", $$1, $$2 } /^##@/ { printf "\n\033[1m%s\033[0m\n", substr($$0, 5) } ' $(MAKEFILE_LIST)
9595

9696
## --------------------------------------
9797
## Testing
@@ -408,7 +408,7 @@ release: clean-release ## Builds and push container images using the latest git
408408
$(MAKE) release-binaries
409409

410410
.PHONY: release-manifests
411-
release-manifests: $(RELEASE_DIR) ## Builds the manifests to publish with a release
411+
release-manifests: $(RELEASE_DIR) $(KUSTOMIZE) ## Builds the manifests to publish with a release
412412
$(KUSTOMIZE) build config/core > $(RELEASE_DIR)/core-components.yaml
413413
$(KUSTOMIZE) build bootstrap/kubeadm/config/default > $(RELEASE_DIR)/bootstrap-components.yaml
414414
$(KUSTOMIZE) build controlplane/kubeadm/config/default > $(RELEASE_DIR)/control-plane-components.yaml

0 commit comments

Comments
 (0)