Skip to content

Commit 6676353

Browse files
committed
doc/build_doc_snapshot.sh: fix PDF generation [ci skip]
Refs #11162
1 parent 103580a commit 6676353

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

doc/build/html_extra/robots.txt

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

doc/build_doc_snapshot.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ rm -f .doxygen_up_to_date
1313
rm -rf build/html
1414
rm -rf build/latex
1515
make html
16-
make latexpdf
16+
17+
python3 -m sphinx -T -b latex -d build/doctrees -D language=en source build/latex
18+
(cd build/latex && (latexmk -r latexmkrc -pdf -f -dvi- -ps- -jobname=gdal -interaction=nonstopmode || test -f gdal.pdf))
1719

1820
rm -rf "${TMPDIR}"
1921
mkdir ${TMPDIR}

0 commit comments

Comments
 (0)