File tree 2 files changed +9
-1
lines changed
2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 31
31
32
32
* .1
33
33
* .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
2
2
BINDIR ?= $(DESTDIR ) /usr/bin
3
3
4
4
BUILDTAGS =
5
+ RUNTIME_TOOLS_LINK := $(CURDIR ) /Godeps/_workspace/src/github.com/opencontainers/runtime-tools
5
6
export GOPATH: =$(CURDIR ) /Godeps/_workspace:$(GOPATH )
6
7
7
- all :
8
+ all : $( RUNTIME_TOOLS_LINK )
8
9
go build -tags " $( BUILDTAGS) " -o oci-runtime-tool ./cmd/oci-runtime-tool
9
10
go build -tags " $( BUILDTAGS) " -o runtimetest ./cmd/runtimetest
10
11
@@ -24,6 +25,10 @@ install: man
24
25
25
26
clean :
26
27
rm -f oci-runtime-tool runtimetest * .1
28
+ rm -f $(RUNTIME_TOOLS_LINK )
29
+
30
+ $(RUNTIME_TOOLS_LINK ) :
31
+ ln -sf $(CURDIR ) $(RUNTIME_TOOLS_LINK )
27
32
28
33
.PHONY : test .gofmt .govet .golint
29
34
You can’t perform that action at this time.
0 commit comments