diff --git a/Makefile b/Makefile index a57f6610af0..d7d37106c56 100644 --- a/Makefile +++ b/Makefile @@ -66,8 +66,8 @@ test: check: test .PHONY: install -install: $(BIN)/$(EXECUTABLE) - cp $< $(GOPATH)/bin/ +install: $(wildcard *.go) + go install -v -tags '$(TAGS)' -ldflags '-s -w $(LDFLAGS)' .PHONY: build build: $(BIN)/$(EXECUTABLE)