aboutsummaryrefslogtreecommitdiff
path: root/common/Makefile.common
diff options
context:
space:
mode:
authorSébastien Dailly <sebastien@dailly.me>2024-06-13 10:25:52 +0200
committerSébastien Dailly <sebastien@dailly.me>2024-06-13 10:25:52 +0200
commit29f0b0efcee3b462b5469aec45763e820f3311a2 (patch)
tree0a13074743240bd985c4e817a2e7749336cc867b /common/Makefile.common
parent1dafbcc4532d63d389d9d33b3efae15452bcf0bb (diff)
Added all the styles requirements
Diffstat (limited to 'common/Makefile.common')
-rw-r--r--common/Makefile.common5
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 $< ;\