Skip to content

Commit 773d72f

Browse files
authored
Merge pull request #10435 from FoamyGuy/revert_latex_build_fix
revert latex docs build workaround
2 parents ec2a55a + c78f843 commit 773d72f

File tree

2 files changed

+0
-24
lines changed

2 files changed

+0
-24
lines changed

Makefile

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -156,28 +156,22 @@ epub:
156156
@echo "Build finished. The epub file is in $(BUILDDIR)/epub."
157157

158158
latex:
159-
$(PYTHON) docs/prepare_readme_for_latex.py
160159
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
161-
mv README.rst.bak README.rst
162160
@echo
163161
@echo "Build finished; the LaTeX files are in $(BUILDDIR)/latex."
164162
@echo "Run \`make' in that directory to run these through (pdf)latex" \
165163
"(use \`make latexpdf' here to do that automatically)."
166164

167165
# seems to be malfunctioning
168166
latexpdf:
169-
$(PYTHON) docs/prepare_readme_for_latex.py
170167
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
171-
mv README.rst.bak README.rst
172168
@echo "Running LaTeX files through pdflatex..."
173169
$(MAKE) -C $(BUILDDIR)/latex all-pdf
174170
@echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."
175171

176172
# seems to be malfunctioning
177173
latexpdfja:
178-
$(PYTHON) docs/prepare_readme_for_latex.py
179174
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
180-
mv README.rst.bak README.rst
181175
@echo "Running LaTeX files through platex and dvipdfmx..."
182176
$(MAKE) -C $(BUILDDIR)/latex all-pdf-ja
183177
@echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."

docs/prepare_readme_for_latex.py

Lines changed: 0 additions & 18 deletions
This file was deleted.

0 commit comments

Comments
 (0)