aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2017-03-27 22:43:07 +0200
committerMarc André Tanner <mat@brain-dump.org>2017-03-27 22:44:06 +0200
commit804ff5118d82afd2776c2d117433562dfe084055 (patch)
tree378108b4b654067b532e3835d7c7575862bc3e63 /Makefile
parent4a4f9e04ecff088b907ef81760c2aff8ac5d7a2b (diff)
downloadvis-804ff5118d82afd2776c2d117433562dfe084055.tar.gz
vis-804ff5118d82afd2776c2d117433562dfe084055.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 b42fe76..8e114e9 100644
--- a/Makefile
+++ b/Makefile
@@ -18,7 +18,7 @@ PREFIX ?= /usr/local
SHAREPREFIX ?= ${PREFIX}/share
MANPREFIX ?= ${PREFIX}/man
-VERSION = v0.3
+VERSION = $(shell git describe --always --dirty 2>/dev/null || echo "v0.3-git")
CONFIG_HELP ?= 1
CONFIG_CURSES ?= 1