mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-07-22 07:25:18 +08:00
Merge pull request #238 from go-gitea/make-install
Really use go install on make install
This commit is contained in:
4
Makefile
4
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)
|
||||
|
Reference in New Issue
Block a user