summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMoritz Poldrack <git@moritz.sh>2022-06-22 12:11:59 +0200
committerRobin Jarry <robin@jarry.cc>2022-06-24 21:08:21 +0200
commitd889981088672a7dbe56985382e4bed8516b0c72 (patch)
treeb748739765e9705941fefecaad8a53bbb4643fe0
parent4ebeaa5b95c9899f1c9e3ada3a1bcd97c65db8e7 (diff)
downloadaerc-d889981088672a7dbe56985382e4bed8516b0c72.zip
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>
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index a111508..503d840 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@
.SUFFIXES:
.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
PREFIX?=/usr/local
BINDIR?=$(PREFIX)/bin