File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 3131
3232* .1
3333* .patch
34+
35+ # Temporary symbol links
36+ Godeps /_workspace /src /github.com /opencontainers /runtime-tools
Original file line number Diff line number Diff line change @@ -2,9 +2,10 @@ PREFIX ?= $(DESTDIR)/usr
22BINDIR ?= $(DESTDIR ) /usr/bin
33
44BUILDTAGS =
5+ RUNTIME_TOOLS_LINK := $(CURDIR ) /Godeps/_workspace/src/github.com/opencontainers/runtime-tools
56export GOPATH: =$(CURDIR ) /Godeps/_workspace:$(GOPATH )
67
7- all :
8+ all : $( RUNTIME_TOOLS_LINK )
89 go build -tags " $( BUILDTAGS) " -o oci-runtime-tool ./cmd/oci-runtime-tool
910 go build -tags " $( BUILDTAGS) " -o runtimetest ./cmd/runtimetest
1011
@@ -24,6 +25,10 @@ install: man
2425
2526clean :
2627 rm -f oci-runtime-tool runtimetest * .1
28+ rm -f $(RUNTIME_TOOLS_LINK )
29+
30+ $(RUNTIME_TOOLS_LINK ) :
31+ ln -sfn $(CURDIR ) $(RUNTIME_TOOLS_LINK )
2732
2833.PHONY : test .gofmt .govet .golint
2934
You can’t perform that action at this time.
0 commit comments