summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorThomas Boerger <tboerger@suse.de>2016-11-24 14:38:37 +0100
committerThomas Boerger <tboerger@suse.de>2016-11-24 14:38:37 +0100
commitcc8c57458fa0f1e6c1189e9eeff32d98eda7e681 (patch)
tree16a5939dc35d05d26ce16e14ca2eefe17db90728 /Makefile
parentb6b616b336333c69255b0436a81d712dcd8dcdc9 (diff)
downloadgitea-cc8c57458fa0f1e6c1189e9eeff32d98eda7e681.tar.gz
gitea-cc8c57458fa0f1e6c1189e9eeff32d98eda7e681.zip
Really use go install on make install
Diffstat (limited to 'Makefile')
-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)