diff options
Diffstat (limited to 'common/Makefile.common')
-rw-r--r-- | common/Makefile.common | 5 |
1 files changed, 2 insertions, 3 deletions
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 $< ;\ |