diff --git a/Makefile b/Makefile index 8e82672..f92a2a6 100644 --- a/Makefile +++ b/Makefile @@ -17,17 +17,17 @@ # # no need to modify anything below -tool = tablizer -version = $(shell egrep "= .v" cfg/config.go | cut -d'=' -f2 | cut -d'"' -f 2) -archs = android darwin freebsd linux netbsd openbsd windows -PREFIX = /usr/local -UID = root -GID = 0 -BRANCH = $(shell git branch --show-current) -COMMIT = $(shell git rev-parse --short=8 HEAD) -BUILD = $(shell date +%Y.%m.%d.%H%M%S) -VERSION := $(if $(filter $(BRANCH), development),$(version)-$(BRANCH)-$(COMMIT)-$(BUILD),$(version)) -HAVE_POD := $(shell pod2text -h 2>/dev/null) +tool = tablizer +version = $(shell egrep "= .v" cfg/config.go | cut -d'=' -f2 | cut -d'"' -f 2) +archs = android darwin freebsd linux netbsd openbsd windows +PREFIX = /usr/local +UID = root +GID = 0 +BRANCH = $(shell git branch --show-current) +COMMIT = $(shell git rev-parse --short=8 HEAD) +BUILD = $(shell date +%Y.%m.%d.%H%M%S) +VERSION := $(if $(filter $(BRANCH), development),$(version)-$(BRANCH)-$(COMMIT)-$(BUILD),$(version)) +HAVE_POD := $(shell pod2text -h 2>/dev/null) all: $(tool).1 cmd/$(tool).go buildlocal