Skip to content
Snippets Groups Projects
Commit c6681c65 authored by Campbell Barton's avatar Campbell Barton
Browse files

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.
parent c702e57b
Branches
Tags
No related merge requests found
...@@ -212,10 +212,12 @@ endif ...@@ -212,10 +212,12 @@ endif
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
# Blender binary path # 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) ifeq ($(OS), Darwin)
BLENDER_BIN="$(BUILD_DIR)/bin/blender.app/Contents/MacOS/blender" BLENDER_BIN?="$(BUILD_DIR)/bin/blender.app/Contents/MacOS/blender"
else else
BLENDER_BIN="$(BUILD_DIR)/bin/blender" BLENDER_BIN?="$(BUILD_DIR)/bin/blender"
endif endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment