Skip to content

Commit ba2e75a

Browse files
authored
Merge pull request #238 from go-gitea/make-install
Really use go install on make install
2 parents b6b616b + cc8c574 commit ba2e75a

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)