From f1ed349d6b748a77241fa5004b16634328c43151 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien.villemot@sciencespo.fr> Date: Thu, 29 Jun 2017 12:32:21 +0200 Subject: [PATCH] Enfore standard tmp directory when calling latex2html. --- doc/Makefile.am | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/Makefile.am b/doc/Makefile.am index ce992bca2..99bd82d70 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -5,9 +5,11 @@ info_TEXINFOS = dynare.texi if HAVE_LATEX2HTML html-local: dynare.html +# The temporary directory for latex2html (L2H_TMP) must not contain a dot, so +# enforce standard tmp directory instead of defaulting to current directory dynare.html: dynare.texi rm -rf dynare.html - texi2any --html --split=section -c L2H=1 -c PREFIX=dynare.html dynare.texi + texi2any --html --split=section -c L2H=1 -c L2H_TMP=$${TMPDIR:-/tmp} -c PREFIX=dynare.html dynare.texi endif PDF_TARGETS = -- GitLab