forked from labsyspharm/DRIADrc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
30 lines (21 loc) · 760 Bytes
/
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
figures = figures/Fig1.pdf figures/Fig2.pdf figures/Fig3.pdf \
figures/Fig4.pdf figures/Fig5.pdf
supplement = figures/Suppl1.pdf figures/Suppl2.pdf figures/Suppl3.pdf \
figures/Suppl4.pdf figures/Suppl5.pdf figures/Suppl6.pdf
common = figures/plot.R
all : output/figures.pdf output/supplement.pdf
rm -f *.aux *.log Rplots.pdf
output/figures.pdf : figures.tex $(figures)
pdflatex $<
cp figures.pdf output/
output/supplement.pdf : supplement.tex $(supplement)
pdflatex $<
cp supplement.pdf output/
figures/%.pdf : figures/%.R $(common) schematics/%A.pdf schematics/%B.pdf
Rscript $< $@
figures/%.pdf : figures/%.R $(common) schematics/%A.pdf
Rscript $< $@
figures/%.pdf : figures/%.R $(common)
Rscript $< $@
clean :
rm -f *.pdf figures/*.pdf