From 29f0b0efcee3b462b5469aec45763e820f3311a2 Mon Sep 17 00:00:00 2001 From: Sébastien Dailly Date: Thu, 13 Jun 2024 10:25:52 +0200 Subject: Added all the styles requirements --- common/Makefile.common | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'common/Makefile.common') diff --git a/common/Makefile.common b/common/Makefile.common index a05db25..c3f6959 100644 --- a/common/Makefile.common +++ b/common/Makefile.common @@ -83,10 +83,9 @@ tmp/%.tex: %.rst $(INCLUDED_PDF) $(SOURCES) | tmp # Generate each pdf with latex tmp/%.pdf: tmp/%.tex tmp/model.tex $(BIBS) | tmp - set TEXINPUTS=.:$(MODEL):$$(TEXINPUTS) # Make the first run in batch mode (no pdf produced) - $(TEX) -output-directory tmp --halt-on-error --draftmode $< - $(TEX) -output-directory tmp $< + TEXMFHOME=$(MODEL)/../common/classes $(TEX) -output-directory tmp --halt-on-error --draftmode $< + TEXMFHOME=$(MODEL)/../common/classes $(TEX) -output-directory tmp $< #bibtex tmp/$*.aux && $(TEX) -output-directory tmp $< || echo "no bib" while grep 'Rerun to get ' tmp/$*.log ; do \ $(TEX) -output-directory tmp $< ;\ -- cgit v1.2.3