aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2018-03-25 20:21:35 +0200
committerMarc André Tanner <mat@brain-dump.org>2018-03-25 20:21:35 +0200
commit6dee3a3d3d777cb05ac8236704a71f0b49f5a213 (patch)
tree8a3f38e55fac7827ffb85d79690d4f86becae478 /Makefile
parentebb1c4a536ab22e82edf7cc365704875da8900ce (diff)
downloadvis-6dee3a3d3d777cb05ac8236704a71f0b49f5a213.tar.gz
vis-6dee3a3d3d777cb05ac8236704a71f0b49f5a213.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 3728757..0ee47a0 100644
--- a/Makefile
+++ b/Makefile
@@ -14,7 +14,7 @@ MANUALS = $(EXECUTABLES:=.1)
DOCUMENTATION = LICENSE README.md
-VERSION = v0.5
+VERSION = $(shell git describe --always --dirty 2>/dev/null || echo "v0.5-git")
CONFIG_HELP ?= 1
CONFIG_CURSES ?= 1