diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2016-11-08 09:14:22 +0100 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2016-11-09 15:05:19 +0100 |
| commit | 6e142fa26e51554f2c8e83d8fb852bd90f0b9a66 (patch) | |
| tree | 2062160306c44a4afa4268c328918fd47cfbf18e /Makefile | |
| parent | ef268e029d75ee58fb5a78c203278dfb98d212c5 (diff) | |
| download | vis-6e142fa26e51554f2c8e83d8fb852bd90f0b9a66.tar.gz vis-6e142fa26e51554f2c8e83d8fb852bd90f0b9a66.tar.xz | |
build: make `vis -v` version output more robust
The `git describe` command fails in shallow checked out git repositories
which do not include the tag information. At least include the git short
hash.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -11,7 +11,7 @@ PREFIX ?= /usr/local SHAREPREFIX ?= ${PREFIX}/share MANPREFIX ?= ${PREFIX}/man -VERSION = $(shell git describe 2>/dev/null || echo "0.2") +VERSION = $(shell git describe --always 2>/dev/null || echo "0.2") CONFIG_LUA ?= 1 CONFIG_ACL ?= 0 |
