-
Notifications
You must be signed in to change notification settings - Fork 5
/
Makefile
48 lines (34 loc) · 1.01 KB
/
Makefile
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
all: paper.pdf
paper.aux: paper.tex
pdflatex -shell-escape paper.tex
paper.bbl: paper.aux paper.bib
bibtex paper
pdflatex -shell-escape paper.tex
paper.pdf: paper.bbl
pdflatex -shell-escape paper.tex
paper.ps: paper.dvi
dvips paper
paper.dvi: paper.tex paper.bib
latex paper.tex
bibtex paper
latex paper.tex
latex paper.tex
.PHONY: spellcheck
spellcheck: aspell.conf
aspell --conf ./aspell.conf --check paper.tex
clean:
rm -f *.log *.dvi *.aux
rm -f *.blg *.bbl
rm -fR _minted*
mrproper: clean
rm -f *.ps *.pdf
# TODO these rules for creating figures and figure data are out of date.
# The plan is to systematise things once the basic structure has settled
# down a bit more
plot_data/data-scaling.csv:
python3 src/collect_data.py file-size 'scaling/data/chr21_n10*.ts' $@
# TODO make rule for time-scaling
# TODO make some substitution rules for this later
figures/data-scaling.pdf: plot_data/data-scaling.csv
python3 src/plot.py data-scaling plot_data/data-scaling.csv \
figures/data-scaling.pdf