-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
33 lines (27 loc) · 1.01 KB
/
Copy pathMakefile
File metadata and controls
33 lines (27 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
PAPER = paper
# Figure PDFs in figures/ are copies of ../figures/. Refresh by running
# `make figures` after regenerating in ../figures/.
LCOS_FIGURES = ../figures
FIGS = figures/fig1_template_bias_overlay.pdf \
figures/fig2_threshold_scan.pdf \
figures/fig3_lcos_corner.pdf \
figures/fig4_hubble_residuals.pdf \
figures/fig5_fsigma8.pdf \
figures/fig6_omegam_z.pdf
.PHONY: all clean figures
all: $(PAPER).pdf
figures: $(FIGS)
$(FIGS): figures/%: $(LCOS_FIGURES)/%
@mkdir -p figures
cp $< $@
# Standard pdflatex + bibtex + pdflatex + pdflatex. paper.tex is the
# single source of truth: edit directly.
$(PAPER).pdf: $(PAPER).tex references.bib $(FIGS)
pdflatex -interaction=nonstopmode $(PAPER).tex
bibtex $(PAPER)
pdflatex -interaction=nonstopmode $(PAPER).tex
pdflatex -interaction=nonstopmode $(PAPER).tex
clean:
rm -f $(PAPER).aux $(PAPER).log $(PAPER).out $(PAPER).bbl $(PAPER).blg \
$(PAPER).toc $(PAPER).fls $(PAPER).fdb_latexmk \
$(PAPER).synctex.gz paperNotes.bib