diff --git a/Makefile b/Makefile index a57f6610a..d7d37106c 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)