commit ec060fd33a0b0e3747495d9bf11dbb7e6d3933a8
parent cea571c6e74ee045503ede7e102f59cf5f7d8899
Author: Florian Dold <florian@dold.me>
Date: Mon, 16 Oct 2023 21:59:14 +0200
-prevent latexmk from hanging
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/contrib/taler-terms-generator.in b/contrib/taler-terms-generator.in
@@ -280,10 +280,12 @@ do
"${BUILDDIR}" \
"${BUILDDIR}/pdf" \
&> "${BUILDDIR}/pdf-sphinx.log"
+ # We pipe in /dev/null in case latexmk
+ # asks for input and would hang otherwise.
make \
-C "${BUILDDIR}/pdf" \
all-pdf \
- &> "${BUILDDIR}/pdf-latex.log"
+ < /dev/null &> "${BUILDDIR}/pdf-latex.log"
mv "${BUILDDIR}/pdf/${VERSION_BASENAME}.pdf" "${OUTPUT}/${LANGUAGE}/${VERSION_BASENAME}.pdf"
done