aboutsummaryrefslogtreecommitdiff
path: root/reproduce/src/make/paper.mk
diff options
context:
space:
mode:
authorMohammad Akhlaghi <mohammad@akhlaghi.org>2018-11-12 20:50:27 +0000
committerMohammad Akhlaghi <mohammad@akhlaghi.org>2018-11-12 20:50:27 +0000
commit50139310e1ec4594da15651ecb8475ab33248cb5 (patch)
tree23bfabbb6f595b8ab47eed183a3bfcdcbd687347 /reproduce/src/make/paper.mk
parentab85697bb2cf68d53bee4652f17aadc1b93facb7 (diff)
System's environment (including PATH) only available for LaTeX
The system's environment is now removed from the internal processing of the pipeline, except for LaTeX.
Diffstat (limited to 'reproduce/src/make/paper.mk')
-rw-r--r--reproduce/src/make/paper.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/reproduce/src/make/paper.mk b/reproduce/src/make/paper.mk
index 79d7722..eaa1948 100644
--- a/reproduce/src/make/paper.mk
+++ b/reproduce/src/make/paper.mk
@@ -38,6 +38,9 @@
$(texbdir)/paper.bbl: tex/references.tex \
| $(tikzdir) $(texbdir) tex/pipeline.tex
+ # To find LaTeX (which currently isn't internally installed).
+ PATH=$(sys-path)
+
# We'll run LaTeX first to generate the `.bcf' file (necessary for
# `biber') and then run `biber' to generate the `.bbl' file.
p=$$(pwd);
@@ -61,6 +64,9 @@ $(texbdir)/paper.bbl: tex/references.tex \
paper.pdf: tex/pipeline.tex paper.tex $(texbdir)/paper.bbl \
| $(tikzdir) $(texbdir)
+ # To find LaTeX (which currently isn't internally installed).
+ PATH=$(sys-path)
+
# Go into the top TeX build directory and make the paper.
p=$$(pwd)
export TEXINPUTS=$$p:$$TEXINPUTS