Skip to content

Commit e01c3c6

Browse files
committed
docs: build with makefile produced by Sphinx
svn path=/trunk/matplotlib/; revision=8477
1 parent b9f6136 commit e01c3c6

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

doc/make.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,8 @@ def latex():
5252
# Produce pdf.
5353
os.chdir('build/latex')
5454

55-
# Copying the makefile produced by sphinx...
56-
if (os.system('pdflatex Matplotlib.tex') or
57-
os.system('pdflatex Matplotlib.tex') or
58-
os.system('makeindex -s python.ist Matplotlib.idx') or
59-
os.system('makeindex -s python.ist modMatplotlib.idx') or
60-
os.system('pdflatex Matplotlib.tex')):
55+
# Call the makefile produced by sphinx...
56+
if os.system('make'):
6157
raise SystemExit("Rendering LaTeX failed.")
6258

6359
os.chdir('../..')

0 commit comments

Comments
 (0)