mirror of
https://github.com/prometheus/prometheus.git
synced 2025-02-21 03:16:00 -08:00
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:
parent
b503628545
commit
80986e0dda
|
@ -15,7 +15,7 @@
|
|||
|
||||
.SUFFIXES:
|
||||
|
||||
VERSION=$(shell cat `git rev-parse --show-toplevel`/VERSION)
|
||||
VERSION?=$(shell cat `git rev-parse --show-toplevel`/VERSION)
|
||||
|
||||
OS=$(shell uname)
|
||||
ARCH=$(shell uname -m)
|
||||
|
|
Loading…
Reference in a new issue