Skip to content

Commit cc8c574

Browse files
author
Thomas Boerger
committed
Really use go install on make install
1 parent b6b616b commit cc8c574

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ test:
6666
check: test
6767

6868
.PHONY: install
69-
install: $(BIN)/$(EXECUTABLE)
70-
cp $< $(GOPATH)/bin/
69+
install: $(wildcard *.go)
70+
go install -v -tags '$(TAGS)' -ldflags '-s -w $(LDFLAGS)'
7171

7272
.PHONY: build
7373
build: $(BIN)/$(EXECUTABLE)

0 commit comments

Comments
 (0)