aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 0b42a3d..65a776f 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
1VERSION := 0.4.0 1VERSION := 0.6.0
2 2
3SRC := $(wildcard *.go) 3SRC := $(wildcard *.go)
4TARGET := node_exporter 4TARGET := node_exporter
@@ -8,7 +8,7 @@ ARCH := $(subst x86_64,amd64,$(shell uname -m))
8 8
9GOOS ?= $(OS) 9GOOS ?= $(OS)
10GOARCH ?= $(ARCH) 10GOARCH ?= $(ARCH)
11GOPKG := go1.2.1.$(OS)-$(ARCH).tar.gz 11GOPKG := go1.3.3.$(OS)-$(ARCH).tar.gz
12GOROOT ?= $(CURDIR)/.deps/go 12GOROOT ?= $(CURDIR)/.deps/go
13GOPATH ?= $(CURDIR)/.deps/gopath 13GOPATH ?= $(CURDIR)/.deps/gopath
14GOCC := $(GOROOT)/bin/go 14GOCC := $(GOROOT)/bin/go
@@ -24,7 +24,7 @@ default:
24 24
25.deps/$(GOPKG): 25.deps/$(GOPKG):
26 mkdir -p .deps 26 mkdir -p .deps
27 curl -o .deps/$(GOPKG) http://go.googlecode.com/files/$(GOPKG) 27 curl -o .deps/$(GOPKG) https://storage.googleapis.com/golang/$(GOPKG)
28 28
29$(GOCC): .deps/$(GOPKG) 29$(GOCC): .deps/$(GOPKG)
30 tar -C .deps -xzf .deps/$(GOPKG) 30 tar -C .deps -xzf .deps/$(GOPKG)