mirror of
https://github.com/prometheus/prometheus
synced 2025-03-05 13:08:30 +00: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 New Issue
Block a user