diff options
author | Sandro Santilli <strk@kbt.io> | 2016-11-30 16:59:17 +0100 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2016-11-30 23:59:17 +0800 |
commit | a3fb627350e5ba293d240ab14ec52995bdefa102 (patch) | |
tree | a72625e34c4201c24416c3303e6d72931441522e /Makefile | |
parent | 6dc6926abee7183280a34deac1fef31938b56d00 (diff) | |
download | gitea-a3fb627350e5ba293d240ab14ec52995bdefa102.tar.gz gitea-a3fb627350e5ba293d240ab14ec52995bdefa102.zip |
Have "make" create the executable in root dir (#247)
Same as "go build".
Makes it functional by default as it'd then find template/ and public/
by default w/out setting GITEA_WORK_DIR
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -86,9 +86,9 @@ install: $(wildcard *.go) go install -v -tags '$(TAGS)' -ldflags '-s -w $(LDFLAGS)' .PHONY: build -build: $(BIN)/$(EXECUTABLE) +build: $(EXECUTABLE) -$(BIN)/$(EXECUTABLE): $(wildcard *.go) +$(EXECUTABLE): $(wildcard *.go) go build -v -tags '$(TAGS)' -ldflags '-s -w $(LDFLAGS)' -o $@ .PHONY: release |