]> git.lizzy.rs Git - bspwm.git/commitdiff
Pass `--tags` to `git describe`
authorBastien Dejean <nihilhill@gmail.com>
Mon, 26 Aug 2019 15:07:49 +0000 (17:07 +0200)
committerBastien Dejean <nihilhill@gmail.com>
Mon, 26 Aug 2019 15:07:49 +0000 (17:07 +0200)
Fixes #1003.

Makefile

index 6983939100dd2ac3205a84f083b3b28cb6b4d3cf..9cbedc22062a73bce5eb1f6e6959cadc1aaf975b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-VERCMD  ?= git describe 2> /dev/null
+VERCMD  ?= git describe --tags 2> /dev/null
 VERSION := $(shell $(VERCMD) || cat VERSION)
 
 CPPFLAGS += -D_POSIX_C_SOURCE=200809L -DVERSION=\"$(VERSION)\"