forked from Gitlink/gitea-1156
Merge pull request #238 from go-gitea/make-install
Really use go install on make install
This commit is contained in:
commit
ba2e75a0ab
4
Makefile
4
Makefile
|
@ -66,8 +66,8 @@ test:
|
||||||
check: test
|
check: test
|
||||||
|
|
||||||
.PHONY: install
|
.PHONY: install
|
||||||
install: $(BIN)/$(EXECUTABLE)
|
install: $(wildcard *.go)
|
||||||
cp $< $(GOPATH)/bin/
|
go install -v -tags '$(TAGS)' -ldflags '-s -w $(LDFLAGS)'
|
||||||
|
|
||||||
.PHONY: build
|
.PHONY: build
|
||||||
build: $(BIN)/$(EXECUTABLE)
|
build: $(BIN)/$(EXECUTABLE)
|
||||||
|
|
Loading…
Reference in New Issue