diff options
author | Kim "BKC" Carlbäcker <kim.carlbacker@gmail.com> | 2016-12-05 18:35:22 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-05 18:35:22 +0100 |
commit | 1b5b297c398a547b506029ac5a527ba9a5891ffb (patch) | |
tree | 7376be44473b7550626474432ef47fe22594ca6d /Makefile | |
parent | 2b63f32b8a49d5d704dfa3f4d16e54fcbc0769d4 (diff) | |
download | gitea-1b5b297c398a547b506029ac5a527ba9a5891ffb.tar.gz gitea-1b5b297c398a547b506029ac5a527ba9a5891ffb.zip |
Actually fix 'make build' (#353)
* Actually fix bloddy 'make build'
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -14,6 +14,7 @@ LDFLAGS += -X "code.gitea.io/gitea/modules/setting.BuildGitHash=$(SHA)" TARGETS ?= linux/*,darwin/*,windows/* PACKAGES ?= $(shell go list ./... | grep -v /vendor/) +SOURCES ?= $(shell find . -name "*.go" -type f) TAGS ?= @@ -86,8 +87,7 @@ install: $(wildcard *.go) .PHONY: build build: $(EXECUTABLE) -.PHONY: $(EXECUTABLE) -$(EXECUTABLE): $(wildcard *.go) +$(EXECUTABLE): $(SOURCES) go build -v -tags '$(TAGS)' -ldflags '-s -w $(LDFLAGS)' -o $@ .PHONY: release |