Makefile: allow building from source without git

This allows for building from a source tarball/zip using
VERSION=$VERSION make build
This commit is contained in:
Alan Braithwaite 2015-05-19 22:50:04 -07:00
parent b503628545
commit 80986e0dda

View file

@ -15,7 +15,7 @@
.SUFFIXES: .SUFFIXES:
VERSION=$(shell cat `git rev-parse --show-toplevel`/VERSION) VERSION?=$(shell cat `git rev-parse --show-toplevel`/VERSION)
OS=$(shell uname) OS=$(shell uname)
ARCH=$(shell uname -m) ARCH=$(shell uname -m)