mk: show built version in build log
Replace the implicit shell-parsing with explicitly running the command. This allows the built version to be reflected in the build log. Signed-off-by: Moritz Poldrack <git@moritz.sh> Acked-by: Robin Jarry <robin@jarry.cc>
This commit is contained in:
parent
4ebeaa5b95
commit
d889981088
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -2,7 +2,7 @@
|
||||||
.SUFFIXES:
|
.SUFFIXES:
|
||||||
.SUFFIXES: .1 .5 .7 .1.scd .5.scd .7.scd
|
.SUFFIXES: .1 .5 .7 .1.scd .5.scd .7.scd
|
||||||
|
|
||||||
VERSION?=`git describe --long --tags --dirty 2>/dev/null || echo 0.10.0`
|
VERSION!=git describe --long --tags --dirty 2>/dev/null || echo 0.10.0
|
||||||
VPATH=doc
|
VPATH=doc
|
||||||
PREFIX?=/usr/local
|
PREFIX?=/usr/local
|
||||||
BINDIR?=$(PREFIX)/bin
|
BINDIR?=$(PREFIX)/bin
|
||||||
|
|
Loading…
Reference in a new issue