aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Boerger <thomas@webhippie.de>2016-11-24 15:29:17 +0100
committerGitHub <noreply@github.com>2016-11-24 15:29:17 +0100
commitba2e75a0ab6d8be5e6c92e30e221c3528b22d2a8 (patch)
tree16a5939dc35d05d26ce16e14ca2eefe17db90728
parentb6b616b336333c69255b0436a81d712dcd8dcdc9 (diff)
parentcc8c57458fa0f1e6c1189e9eeff32d98eda7e681 (diff)
downloadgitea-ba2e75a0ab6d8be5e6c92e30e221c3528b22d2a8.tar.gz
gitea-ba2e75a0ab6d8be5e6c92e30e221c3528b22d2a8.zip
Merge pull request #238 from go-gitea/make-install
Really use go install on make install
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index a57f6610af..d7d37106c5 100644
--- a/Makefile
+++ b/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)