aboutsummaryrefslogtreecommitdiff
path: root/reproduce/src
diff options
context:
space:
mode:
authorMohammad Akhlaghi <mohammad@akhlaghi.org>2018-02-27 16:06:36 +0100
committerMohammad Akhlaghi <mohammad@akhlaghi.org>2018-02-27 16:06:36 +0100
commit996b87c356b52e7cb3febfccdc5bfbc4d3e2eaf4 (patch)
tree6f845becf566de478ee139184ba03e71f6692bd1 /reproduce/src
parent0a91f0356904e95e049d4a92d6cd7116a90a3e59 (diff)
More clear comments in paper.mk
The comments needed to be corrected to fit and explain the new logic (LaTeX being run within another directory).
Diffstat (limited to 'reproduce/src')
-rw-r--r--reproduce/src/make/paper.mk10
1 files changed, 7 insertions, 3 deletions
diff --git a/reproduce/src/make/paper.mk b/reproduce/src/make/paper.mk
index f3db1de..6d4f51e 100644
--- a/reproduce/src/make/paper.mk
+++ b/reproduce/src/make/paper.mk
@@ -26,7 +26,8 @@
# ----------------
#
# We need to run the `biber' program on the output of LaTeX to generate the
-# necessary bibliography before making the final paper.
+# necessary bibliography before making the final paper. So we'll first have
+# one run of LaTeX (similar to the `paper.pdf' recipe), then `biber'.
#
# NOTE: `tex/pipeline.tex' is an order-only-prerequisite for
# `paper.bbl'. This is because we need to run LaTeX in both the `paper.bbl'
@@ -51,8 +52,11 @@ $(texbdir)/paper.bbl: tex/references.tex \
# The final paper
# ---------------
#
-# The commands to build the final report. We want the pipeline version to
-# be checked everytime the final PDF is to be built.
+# Run LaTeX in the `$(texbdir)' directory so all the intermediate and
+# auxiliary files stay there and keep the top directory clean. To be able
+# to run everything cleanly from there, it is necessary to add the current
+# directory (top reproduction pipeline directory) to the `TEXINPUTS'
+# environment variable.
paper.pdf: tex/pipeline.tex paper.tex $(texbdir)/paper.bbl \
| $(tikzdir) $(texbdir)