Fix the Makefile so a phantom "minikube" linked directory isn't created anymore.
parent
77a3efb714
commit
25ceea2df4
5
Makefile
5
Makefile
|
|
@ -21,7 +21,8 @@ VERSION ?= v0.6.0
|
|||
GOOS ?= $(shell go env GOOS)
|
||||
GOARCH ?= $(shell go env GOARCH)
|
||||
BUILD_DIR ?= ./out
|
||||
REPOPATH ?= k8s.io/minikube
|
||||
ORG := k8s.io
|
||||
REPOPATH ?= $(ORG)/minikube
|
||||
BUILD_IMAGE ?= gcr.io/google_containers/kube-cross:v1.6.2-1
|
||||
|
||||
ifeq ($(IN_DOCKER),1)
|
||||
|
|
@ -39,7 +40,7 @@ K8S_VERSION_LDFLAGS := $(shell $(PYTHON) hack/get_k8s_version.py 2>&1)
|
|||
MINIKUBE_LDFLAGS := -X k8s.io/minikube/pkg/version.version=$(VERSION)
|
||||
LOCALKUBE_LDFLAGS := "$(K8S_VERSION_LDFLAGS) $(MINIKUBE_LDFLAGS) -s -w -extldflags '-static'"
|
||||
|
||||
MKGOPATH := mkdir -p $(shell dirname $(GOPATH)/src/$(REPOPATH)) && ln -s -f $(shell pwd) $(GOPATH)/src/$(REPOPATH)
|
||||
MKGOPATH := mkdir -p $(GOPATH)/src/$(ORG) && ln -s -f $(shell pwd) $(GOPATH)/src/$(ORG)
|
||||
|
||||
LOCALKUBEFILES := $(shell go list -f '{{join .Deps "\n"}}' ./cmd/localkube/ | grep k8s.io | xargs go list -f '{{ range $$file := .GoFiles }} {{$$.Dir}}/{{$$file}}{{"\n"}}{{end}}')
|
||||
MINIKUBEFILES := $(shell go list -f '{{join .Deps "\n"}}' ./cmd/minikube/ | grep k8s.io | xargs go list -f '{{ range $$file := .GoFiles }} {{$$.Dir}}/{{$$file}}{{"\n"}}{{end}}')
|
||||
|
|
|
|||
Loading…
Reference in New Issue