add better makefile and reference gx stuff in readme
License: MIT Signed-off-by: Jeromy <jeromyj@gmail.com>
Jeromy committed
Jan 28, 2016 at 10:37 UTC
0dba051ce5826e0014eaf85240c8fcadabed2974
2 files changed
+5
-3
Makefile
+1
-1
@@ -27,7 +27,7 @@ deps: gx
27
vendor: godep
28
godep save -r ./...
29
30
-install:
30
+install: deps
31
cd cmd/ipfs && go install -ldflags=$(ldflags)
32
33
build:
README.md
+4
-2
@@ -55,10 +55,12 @@ export PATH=$PATH:$GOPATH/bin
55
56
### Download + Compile IPFS
57
58
-Then simply:
58
+Then:
59
60
```
61
-go get -u github.com/ipfs/go-ipfs/cmd/ipfs
61
+$ go get -d github.com/ipfs/go-ipfs
62
+$ cd $GOPATH/src/github.com/ipfs/go-ipfs
63
+$ make install
64
```
65
66
NOTES: