Build from the right directory and add api to latex command

This commit is contained in:
Steven Silvester
2015-09-15 07:32:33 -05:00
parent da3da0bc29
commit d2c4ccba59
2 changed files with 6 additions and 5 deletions
+2
View File
@@ -115,6 +115,8 @@ if "%1" == "epub" (
)
if "%1" == "latex" (
mkdir source/api
%PYTHON% tools/build_modref_templates.py
%SPHINXBUILD% -b latex %ALLSPHINXOPTS% %BUILDDIR%/latex
echo.
echo.Build finished; the LaTeX files are in %BUILDDIR%/latex.