Lines 238-244
src_compile() {
Link Here
|
238 |
|
238 |
|
239 |
cd "${CMAKE_USE_DIR}" || die |
239 |
cd "${CMAKE_USE_DIR}" || die |
240 |
einfo "Generating (BPY) Blender Python API docs ..." |
240 |
einfo "Generating (BPY) Blender Python API docs ..." |
241 |
"${BUILD_DIR}"/bin/blender --background --python doc/python_api/sphinx_doc_gen.py -noaudio || die "sphinx failed." |
241 |
"${BUILD_DIR}"/bin/blender --background -noaudio \ |
|
|
242 |
--env-system-scripts release/scripts \ |
243 |
--python doc/python_api/sphinx_doc_gen.py \ |
244 |
|| die "blender failed." |
242 |
|
245 |
|
243 |
cd "${CMAKE_USE_DIR}"/doc/python_api || die |
246 |
cd "${CMAKE_USE_DIR}"/doc/python_api || die |
244 |
sphinx-build sphinx-in BPY_API || die "sphinx failed." |
247 |
sphinx-build sphinx-in BPY_API || die "sphinx failed." |