aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2020-12-08 11:01:39 +0100
committerMarc André Tanner <mat@brain-dump.org>2020-12-08 11:01:39 +0100
commit247b799b7cd272f20b2c6f9b4e60bf8b57775985 (patch)
treef36d79834c45cad9dd6b12a8167b8f1f2f97553c /Makefile
parent979f3d905ab8910de4fb57f91b31d76e3e218aa5 (diff)
downloadvis-247b799b7cd272f20b2c6f9b4e60bf8b57775985.tar.gz
vis-247b799b7cd272f20b2c6f9b4e60bf8b57775985.tar.xz
build: add git based version information back
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 384d89c..3d3539e 100644
--- a/Makefile
+++ b/Makefile
@@ -35,7 +35,7 @@ MANUALS = $(EXECUTABLES:=.1)
DOCUMENTATION = LICENSE README.md
-VERSION = v0.7
+VERSION = $(shell git describe --always --dirty 2>/dev/null || echo "v0.7-git")
CONFIG_HELP ?= 1
CONFIG_CURSES ?= 1