Really use go install on make install
This commit is contained in:
parent
b6b616b336
commit
cc8c57458f
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
@ -66,8 +66,8 @@ test:
|
||||||
check: test
|
check: test
|
||||||
|
|
||||||
.PHONY: install
|
.PHONY: install
|
||||||
install: $(BIN)/$(EXECUTABLE)
|
install: $(wildcard *.go)
|
||||||
cp $< $(GOPATH)/bin/
|
go install -v -tags '$(TAGS)' -ldflags '-s -w $(LDFLAGS)'
|
||||||
|
|
||||||
.PHONY: build
|
.PHONY: build
|
||||||
build: $(BIN)/$(EXECUTABLE)
|
build: $(BIN)/$(EXECUTABLE)
|
||||||
|
|
Loading…
Add table
Reference in a new issue