From: Marco Peereboom Date: Fri, 17 Feb 2012 15:49:48 +0000 (-0600) Subject: attempt to print the git version in the version string X-Git-Tag: SPECTRWM_1_0_0~6 X-Git-Url: https://code.delx.au/spectrwm/commitdiff_plain/732f22de7283e0275ae8c2648dc7d8f9cb96aa2d attempt to print the git version in the version string --- diff --git a/linux/Makefile b/linux/Makefile index 6f95f46..6f87778 100644 --- a/linux/Makefile +++ b/linux/Makefile @@ -11,6 +11,9 @@ CC= gcc LVERS= $(shell . ../lib/shlib_version; echo $$major.$$minor) +BUILDVERSION= $(shell sh ../buildver.sh) +CFLAGS+= -DSPECTRWM_BUILDSTR=\"$(BUILDVERSION)\" + all: spectrwm libswmhack.so.$(LVERS) spectrwm.c: