From: Michael Stapelberg Date: Sat, 23 Jan 2010 21:35:10 +0000 (+0100) Subject: Include date of the last commit in version number (Thanks Scytale) X-Git-Tag: 3.e~6^2~159 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0abf9cc570d8a751566fbec8cd0ebb4f6f224138;p=i3%2Fi3 Include date of the last commit in version number (Thanks Scytale) --- diff --git a/common.mk b/common.mk index 70305148..775b592d 100644 --- a/common.mk +++ b/common.mk @@ -1,7 +1,7 @@ UNAME=$(shell uname) DEBUG=1 INSTALL=install -GIT_VERSION:=$(shell git describe --tags --always) +GIT_VERSION:="$(shell git describe --tags --always) ($(shell git log --pretty=format:%cd --date=short -n1))" VERSION:=$(shell git describe --tags --abbrev=0) CFLAGS += -std=c99