[bootlin/training-materials updates] master: Makefile: pass --tee option to texfot (6b1cbd04)

Thomas Petazzoni thomas.petazzoni at bootlin.com
Mon Aug 7 19:31:49 CEST 2023


Repository : https://github.com/bootlin/training-materials
On branch  : master
Link       : https://github.com/bootlin/training-materials/commit/6b1cbd0424c4626ef0ba53ee92d19119535b7850

>---------------------------------------------------------------

commit 6b1cbd0424c4626ef0ba53ee92d19119535b7850
Author: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
Date:   Mon Aug 7 19:31:49 2023 +0200

    Makefile: pass --tee option to texfot
    
    Newer versions of texfot put their logging into /tmp/fot.<uid>. Hower,
    older versions put it in /tmp/fot, which means that if different users
    use texfot on the same machine, the first one creating the file wins,
    the other users cannot use fot. In order to work around this,
    explicitly use /tmp/fot.<uid>.
    
    Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>


>---------------------------------------------------------------

6b1cbd0424c4626ef0ba53ee92d19119535b7850
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index f7a0236e..cfa3094b 100644
--- a/Makefile
+++ b/Makefile
@@ -31,7 +31,7 @@ VARS = $(OUTDIR)/vars
 
 # Environment for pdflatex, which allows it to find the stylesheet in the
 # common/ directory.
-PDFLATEX_ENV = TEXINPUTS=.:$(shell pwd):$(shell pwd)/common: texfot
+PDFLATEX_ENV = TEXINPUTS=.:$(shell pwd):$(shell pwd)/common: texfot --tee /tmp/fot.`id -u`
 
 # Arguments passed to pdflatex
 PDFLATEX_OPT = -shell-escape -file-line-error -halt-on-error




More information about the training-materials-updates mailing list