From e19c7d38f00fe3612a8c499f8ac4c965f52cb86b Mon Sep 17 00:00:00 2001 From: Mohammad Akhlaghi Date: Tue, 5 Feb 2019 23:31:27 +0000 Subject: Ability to package project into tarball or zip file With this commit, it is now possible to package the project into a tarball or zip file, ready to be distributed to collaborators who only want to modify the final paper (and not do the analysis technicalities), or for uploading to sites like arXiv, or online LaTeX sharing pages. --- reproduce/src/make/paper.mk | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'reproduce/src/make/paper.mk') diff --git a/reproduce/src/make/paper.mk b/reproduce/src/make/paper.mk index 17d59bf..aea6c60 100644 --- a/reproduce/src/make/paper.mk +++ b/reproduce/src/make/paper.mk @@ -126,6 +126,12 @@ paper.pdf: tex/pipeline.tex paper.tex $(texbdir)/paper.bbl \ @macros=$$(cat tex/pipeline.tex) if [ x"$$macros" != x ]; then + # If it doesn't exist, make the `tex/tikz' symbolic link + # directory. This is necessary for situations when we just want + # TeX to use built figures instead of actually building the + # figures. + if [ ! -e tex/tikz ]; then ln -s $(tikzdir) tex/tikz; fi + # Go into the top TeX build directory and make the paper. p=$$(pwd) export TEXINPUTS=$$p:$$TEXINPUTS -- cgit v1.2.1