diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-02-28 02:33:58 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-02-28 02:35:38 +0300 |
commit | c6681c65dd277531152c42624f4e7a2a9bf9870d (patch) | |
tree | 77104869b538d6797f01c2e719270c21f4922f4b /GNUmakefile | |
parent | c702e57b3c18932801f24824f40632b36e828b1f (diff) |
Makefile: use BLENDER_BIN variable if passed in
When the default build path isn't used,
it's still handy to be able to run utility commands.
Diffstat (limited to 'GNUmakefile')
-rw-r--r-- | GNUmakefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/GNUmakefile b/GNUmakefile index b4347871e8a..afd1a4880b7 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -212,10 +212,12 @@ endif # ----------------------------------------------------------------------------- # Blender binary path +# Allow passing in own BLENDER_BIN so developers who don't +# use the default build path can still use utility helpers. ifeq ($(OS), Darwin) - BLENDER_BIN="$(BUILD_DIR)/bin/blender.app/Contents/MacOS/blender" + BLENDER_BIN?="$(BUILD_DIR)/bin/blender.app/Contents/MacOS/blender" else - BLENDER_BIN="$(BUILD_DIR)/bin/blender" + BLENDER_BIN?="$(BUILD_DIR)/bin/blender" endif |