1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-17 04:58:06 +00:00

configure: make the pdflatex check use the tempdir

This commit is contained in:
Martin Herkt 2013-09-25 16:04:41 +02:00
parent cc12f05a52
commit 4e6751609e

3
configure vendored
View File

@ -941,13 +941,12 @@ fi
echocheck "whether to build manual PDFs with rst2latex"
texcheck() {
echo test | $_rst2latex --config=DOCS/man/docutils.conf | pdflatex -halt-on-error -draftmode
echo test | $_rst2latex --config=DOCS/man/docutils.conf | pdflatex -halt-on-error -draftmode -output-directory="$mplayer_tmpdir"
}
if test "$_build_pdf" = auto ; then
_build_pdf=no
command_check texcheck && _build_pdf=yes
rm -f texput.{log,aux,out}
else
_build_pdf=no
fi