support for paths with spaces in makefile
authorCampbell Barton <ideasman42@gmail.com>
Fri, 15 Nov 2013 07:59:50 +0000 (18:59 +1100)
committerCampbell Barton <ideasman42@gmail.com>
Fri, 15 Nov 2013 07:59:50 +0000 (18:59 +1100)
GNUmakefile

index 417ff7770edb15cd4fdf710a25e0f2636df581b7..26aaa3f05652e7ab2fe1bbb00328d64b861d3e1e 100644 (file)
@@ -32,7 +32,7 @@ OS_NCASE:=$(shell uname -s | tr '[A-Z]' '[a-z]')
 
 
 # Source and Build DIR's
-BLENDER_DIR:=$(shell pwd -P)
+BLENDER_DIR:="$(shell pwd -P)"
 BUILD_TYPE:=Release
 
 ifndef BUILD_CMAKE_ARGS
@@ -40,7 +40,7 @@ ifndef BUILD_CMAKE_ARGS
 endif
 
 ifndef BUILD_DIR
-       BUILD_DIR:=$(shell dirname $(BLENDER_DIR))/build_$(OS_NCASE)
+       BUILD_DIR:="$(shell dirname $(BLENDER_DIR))/build_$(OS_NCASE)"
 endif