Skip to content

Commit

Permalink
Fix build graftcp-local
Browse files Browse the repository at this point in the history
`go get ./... ` depend the GOPATH, if the graftcp-local is not inside the
GOPATH, it will fail with this message:
go install: no install location for directory graftcp-local-path outside GOPATH
        For more details see: 'go help gopath'
  • Loading branch information
hmgle committed Aug 6, 2018
1 parent ba5bc79 commit a6d0e2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ graftcp: main.o util.o string-set.o
$(CC) $(CFLAGS) -c -o $@ $<

graftcp-local/graftcp-local: graftcp-local/*.go
cd graftcp-local && go get ./... && go build
cd graftcp-local && go build

install:: graftcp graftcp-local/graftcp-local
$(INSTALL) $< $(BINDIR); \
Expand Down

0 comments on commit a6d0e2b

Please sign in to comment.