From 732f22de7283e0275ae8c2648dc7d8f9cb96aa2d Mon Sep 17 00:00:00 2001 From: Marco Peereboom Date: Fri, 17 Feb 2012 09:49:48 -0600 Subject: [PATCH] attempt to print the git version in the version string --- linux/Makefile | 3 +++ 1 file changed, 3 insertions(+) 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: -- 2.39.2