]> code.delx.au - spectrwm/commitdiff
make buildversion optional, from drahn
authorMarco Peereboom <marco@conformal.com>
Fri, 17 Feb 2012 16:07:06 +0000 (10:07 -0600)
committerMarco Peereboom <marco@conformal.com>
Fri, 17 Feb 2012 16:07:06 +0000 (10:07 -0600)
linux/Makefile

index d0362c985d74b419d95965f1e0422127295b69f1..5f983181495d48e1eab0bef32e576793401ad60d 100644 (file)
@@ -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)