Makefile 1.03 KB
Newer Older
Georges Kunstler's avatar
Georges Kunstler committed
1
2
TARGETS = $(subst md,pdf,$(shell ls *.md))

Georges Kunstler's avatar
Georges Kunstler committed
3
all: progress.pdf
Georges Kunstler's avatar
Georges Kunstler committed
4

Georges Kunstler's avatar
Georges Kunstler committed
5
progress.pdf: progress.md include.tex biome_ecocode_xy.pdf world_map_all.png traits-XY.pdf R2_boxplot_two.pdf R2_MAP_two.pdf parameters_MAP_2models.pdf parameters_BATOT_MAP.pdf
Georges Kunstler's avatar
Georges Kunstler committed
6
7
	pandoc $< --csl=journal-of-applied-ecology.csl --filter pandoc-citeproc --bibliography=refs.bib --template=include.tex --variable mainfont="Times New Roman" --variable sansfont=Arial --variable fontsize=12pt --latex-engine=xelatex -o $@

Georges Kunstler's avatar
Georges Kunstler committed
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
biome_ecocode_xy.pdf: ../../../figs/biome.ecocode.xy.pdf
	cp $< $@

world_map_all.png: ../../../figs/world_map_all.png
	cp $< $@
	convert world_map_all.png -crop 750x350+125+50  +repage  world_map_all.png

traits-XY.pdf: ../../../figs/test.traits/traits.XY.pdf
	cp $< $@

R2_boxplot_two.pdf: ../../../figs/R2.boxplot.two.pdf
	cp $< $@

R2_MAP_two.pdf: ../../../figs/R2.MAP.two.pdf
	cp $< $@

parameters_MAP_2models.pdf: ../../../figs/parameters.MAP.2models.pdf
	cp $< $@

parameters_BATOT_MAP.pdf: ../../../figs/parameters.BATOT.MAP.pdf
	cp $< $@

Georges Kunstler's avatar
Georges Kunstler committed
30
31
32
33

clean:
	rm -f *.pdf
#