diff options
author | Mohammad Akhlaghi <mohammad@akhlaghi.org> | 2019-06-29 02:01:58 +0200 |
---|---|---|
committer | Mohammad Akhlaghi <mohammad@akhlaghi.org> | 2019-06-29 02:28:27 +0200 |
commit | 0f1ec1488bf0bdd70d74f812ffb3ec70dc55b68e (patch) | |
tree | 4bd8bb7831ef252b8544230e1c0549377f84042e /reproduce/analysis/make | |
parent | 9f18cb8a8981f7fbdec82cbc584f412226e8e66b (diff) |
Added citation for TIDES, sorted progs alphabetically
While reviewing Prasenjit's commits, I noticed that we had forgot to add
the citation for TIDES, also to make things clear, the program/library
build rules are now sorted alphabetically.
Finally, I noticed that after building the TiKZ PDF figures, it is crashing
(like on Prasenjit's computer). After looking around, I noticed its because
we were setting the of the `TEXINPUTS' environment variable to be the
installed TeX Live directory (which was ultimately redundant because by
default TeX will look into where it was installed). The important thing is
just that we remove any possible value the host system has, not to set new
directories.
Diffstat (limited to 'reproduce/analysis/make')
-rw-r--r-- | reproduce/analysis/make/initialize.mk | 6 | ||||
-rw-r--r-- | reproduce/analysis/make/paper.mk | 8 |
2 files changed, 9 insertions, 5 deletions
diff --git a/reproduce/analysis/make/initialize.mk b/reproduce/analysis/make/initialize.mk index 640ba2d..d176489 100644 --- a/reproduce/analysis/make/initialize.mk +++ b/reproduce/analysis/make/initialize.mk @@ -103,15 +103,19 @@ curdir := $(shell echo $$(pwd)) # itself and doesn't use the local system's default tools. With these # environment variables, we are setting it to prefer the software we have # build here. +# +# `TEXINPUTS': we have to remove all possible user-specified directories to +# avoid conflicts with existing TeX Live solutions. Later (in `paper.mk'), +# we are also going to overwrite `TEXINPUTS' just before `pdflatex'. .ONESHELL: .SHELLFLAGS = -ec +export TEXINPUTS := export CCACHE_DISABLE := 1 export PATH := $(installdir)/bin export LD_LIBRARY_PATH := $(installdir)/lib export LDFLAGS := -L$(installdir)/lib export SHELL := $(installdir)/bin/bash export CPPFLAGS := -I$(installdir)/include -export TEXINPUTS := $(installdir)/texlive// diff --git a/reproduce/analysis/make/paper.mk b/reproduce/analysis/make/paper.mk index 34d88a4..c17028a 100644 --- a/reproduce/analysis/make/paper.mk +++ b/reproduce/analysis/make/paper.mk @@ -98,10 +98,10 @@ $(texbdir)/paper.bbl: tex/src/references.tex $(mtexdir)/dependencies-bib.tex \ # We'll run LaTeX first to generate the `.bcf' file (necessary # for `biber') and then run `biber' to generate the `.bbl' file. - p=$$(pwd); - export TEXINPUTS=$$p:$$TEXINPUTS; + p=$$(pwd) + export TEXINPUTS=$$p: cd $(texbdir); - pdflatex -shell-escape -halt-on-error $$p/paper.tex; + pdflatex -shell-escape -halt-on-error $$p/paper.tex biber paper fi @@ -126,7 +126,7 @@ paper.pdf: $(mtexdir)/project.tex paper.tex $(texbdir)/paper.bbl # Go into the top TeX build directory and make the paper. p=$$(pwd) - export TEXINPUTS=$$p:$$TEXINPUTS + export TEXINPUTS=$$p: cd $(texbdir) pdflatex -shell-escape -halt-on-error $$p/paper.tex |