Really use go install on make install

This commit is contained in:
Thomas Boerger 2016-11-24 14:38:37 +01:00
parent b6b616b336
commit cc8c57458f
No known key found for this signature in database
GPG Key ID: 5A388F55283960B6
1 changed files with 2 additions and 2 deletions

View File

@ -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)