JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
Kill references before focusing on a new window.
[spectrwm.git] / linux / Makefile
index 6f87778..5f98318 100644 (file)
@@ -11,8 +11,10 @@ CC= gcc
 
 LVERS= $(shell . ../lib/shlib_version; echo $$major.$$minor)
 
-BUILDVERSION= $(shell sh ../buildver.sh)
+BUILDVERSION= $(shell sh $(CURDIR)/../buildver.sh)
+ifneq ("${BUILDVERSION}", "")
 CFLAGS+= -DSPECTRWM_BUILDSTR=\"$(BUILDVERSION)\"
+endif
 
 all: spectrwm libswmhack.so.$(LVERS)