Skip to content
This repository has been archived by the owner on Dec 5, 2017. It is now read-only.

Commit

Permalink
additional fixes for #173
Browse files Browse the repository at this point in the history
  • Loading branch information
jdef committed Mar 18, 2015
1 parent ab5c8df commit 165dc8d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ endif

export SHELL
export KUBE_GO_PACKAGE
export K8SM_GO_PACKAGE

all: patch version
env GOPATH=$(BUILDDIR) go install $(K8S_CMD)
Expand Down Expand Up @@ -103,9 +104,9 @@ patch: prepare $(PATCH_SCRIPT)
version: $(GIT_VERSION_FILE)

$(GIT_VERSION_FILE):
@(pkg="$(BUILDDIR)"; cd "$${pkg%%:*}/src/$(KUBE_GO_PACKAGE)" && \
@(pkg="$(BUILDDIR)"; cd "$${pkg%%:*}/src/$(K8SM_GO_PACKAGE)" && \
source $(current_dir)/hack/kube-version.sh && \
KUBE_GO_PACKAGE=$(KUBE_GO_PACKAGE) kube::version::ldflags) >$@
K8SM_GO_PACKAGE=$(K8SM_GO_PACKAGE) kube::version::ldflags) >$@

$(PATCH_SCRIPT):
test -x $@ || chmod +x $@

0 comments on commit 165dc8d

Please sign in to comment.