aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index a57f6610af..d7d37106c5 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)