We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 389c73a commit 18b7cfdCopy full SHA for 18b7cfd
Makefile
@@ -2,9 +2,10 @@ PREFIX ?= $(DESTDIR)/usr
2
BINDIR ?= $(DESTDIR)/usr/bin
3
4
BUILDTAGS=
5
+RUNTIME_TOOLS_LINK := $(CURDIR)/Godeps/_workspace/src/github.com/opencontainers/runtime-tools
6
export GOPATH:=$(CURDIR)/Godeps/_workspace:$(GOPATH)
7
-all:
8
+all: $(RUNTIME_TOOLS_LINK)
9
go build -tags "$(BUILDTAGS)" -o oci-runtime-tool ./cmd/oci-runtime-tool
10
go build -tags "$(BUILDTAGS)" -o runtimetest ./cmd/runtimetest
11
@@ -24,6 +25,10 @@ install: man
24
25
26
clean:
27
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)
32
33
.PHONY: test .gofmt .govet .golint
34
0 commit comments