diff --git a/wrapping/python/docs/Makefile.in b/wrapping/python/docs/Makefile.in index 7a25b36304..b6306d38ed 100644 --- a/wrapping/python/docs/Makefile.in +++ b/wrapping/python/docs/Makefile.in @@ -17,4 +17,4 @@ help: # Catch-all target: route all unknown targets to Sphinx using the new # "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS). %: Makefile - @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) + @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) > ${COMPLEX_SPHINX_DOCS_DIR}/sphinx_build_output.log 2>&1 diff --git a/wrapping/python/docs/make.bat.in b/wrapping/python/docs/make.bat.in index a1690ed97b..00f16edd38 100644 --- a/wrapping/python/docs/make.bat.in +++ b/wrapping/python/docs/make.bat.in @@ -25,7 +25,7 @@ if errorlevel 9009 ( exit /b 1 ) -%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O% +%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O% > ${COMPLEX_SPHINX_DOCS_DIR}/sphinx_build_output.log goto end :help