]> git.donarmstrong.com Git - diamond_presentation.git/blob - diamond_paper_figures/Makefile
crop out diamond figures into subfigures
[diamond_presentation.git] / diamond_paper_figures / Makefile
1 #!/usr/bin/make -f
2
3 DIAMOND_FIGURES=$(patsubst %,diamond_%.jpg,F1 SF1 SF2 SF3)
4
5 MBLAST_FIGURES=$(patsubst %,mblast_%.png,1 2 3 4 5 6)
6
7 all: $(DIAMOND_FIGURES) $(MBLAST_FIGURES)
8
9
10
11 $(DIAMOND_FIGURES): diamond_%.jpg: 
12         wget -O $@ "http://www.nature.com/nmeth/journal/v12/n1/images/nmeth.3176-$*.jpg"
13
14 $(MBLAST_FIGURES): mblast_%.png:
15         wget -O temp.gif "http://www.omicsonline.org/JDMGPimages/2153-0602-4-135-g00$*.gif"
16         convert temp.gif $@
17         rm -f temp.gif
18
19 diamond_F1_a.jpg: diamond_F1.jpg
20         convert -crop '335x311+0x0' $^ $@
21
22 diamond_F1_b.jpg: diamond_F1.jpg
23         convert -crop '320x311+335x0' $^ $@
24
25 diamond_F1_c.jpg: diamond_F1.jpg
26         convert -crop '291x311+655x0' $^ $@