From f1b0e83776689e7df1daad67a871770ac1d7fad2 Mon Sep 17 00:00:00 2001 From: "Johannes M. Griebler" Date: Thu, 13 Oct 2016 17:30:08 +0200 Subject: [PATCH] Take lightweight tags into account in VERSION --- config.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.mk b/config.mk index 5171442..32d1d5d 100644 --- a/config.mk +++ b/config.mk @@ -5,7 +5,7 @@ MANPREFIX = ${PREFIX}/share/man # In dist tarballs, the version is stored in the VERSION files. VERSION := '$(shell [ -f VERSION ] && cat VERSION)' ifeq ('',$(VERSION)) -VERSION := $(shell git describe) +VERSION := $(shell git describe --tags) endif # Xinerama, comment if you don't want it