From bec4acf876ad370b55656aebc85b51f062a5595a Mon Sep 17 00:00:00 2001 From: Marco Peereboom Date: Fri, 17 Feb 2012 10:07:06 -0600 Subject: [PATCH] make buildversion optional, from drahn --- linux/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/linux/Makefile b/linux/Makefile index d0362c9..5f98318 100644 --- a/linux/Makefile +++ b/linux/Makefile @@ -12,7 +12,9 @@ CC= gcc LVERS= $(shell . ../lib/shlib_version; echo $$major.$$minor) BUILDVERSION= $(shell sh $(CURDIR)/../buildver.sh) +ifneq ("${BUILDVERSION}", "") CFLAGS+= -DSPECTRWM_BUILDSTR=\"$(BUILDVERSION)\" +endif all: spectrwm libswmhack.so.$(LVERS) -- 2.39.2