mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Merged in psuter/sphinx/psuter/fix-makebat-latexpdf-mechanism-to-cd-bac-1411635021827 (pull request #295)
Fix ``make.bat latexpdf`` mechanism to ``cd`` back to the build directory. (see #1520)
This commit is contained in:
commit
7c9565f510
@ -637,7 +637,7 @@ REM Command file for Sphinx documentation
|
||||
if "%%SPHINXBUILD%%" == "" (
|
||||
\tset SPHINXBUILD=sphinx-build
|
||||
)
|
||||
set BUILDDIR=%(rbuilddir)s
|
||||
set BUILDDIR=%%~dp0%(rbuilddir)s
|
||||
set ALLSPHINXOPTS=-d %%BUILDDIR%%/doctrees %%SPHINXOPTS%% %(rsrcdir)s
|
||||
set I18NSPHINXOPTS=%%SPHINXOPTS%% %(rsrcdir)s
|
||||
if NOT "%%PAPER%%" == "" (
|
||||
|
Loading…
Reference in New Issue
Block a user