From: Don Armstrong Date: Wed, 14 Oct 2015 22:20:31 +0000 (-0500) Subject: add rules to download figures X-Git-Url: https://git.donarmstrong.com/?p=diamond_presentation.git;a=commitdiff_plain;h=e80580ee61ae916cdaf93a5c479c34160eb3e43b add rules to download figures --- e80580ee61ae916cdaf93a5c479c34160eb3e43b diff --git a/diamond_paper_figures/.gitignore b/diamond_paper_figures/.gitignore new file mode 100644 index 0000000..49d14dd --- /dev/null +++ b/diamond_paper_figures/.gitignore @@ -0,0 +1,10 @@ +diamond_F1.jpg +diamond_SF1.jpg +diamond_SF2.jpg +diamond_SF3.jpg +mblast_1.png +mblast_2.png +mblast_3.png +mblast_4.png +mblast_5.png +mblast_6.png diff --git a/diamond_paper_figures/Makefile b/diamond_paper_figures/Makefile new file mode 100644 index 0000000..71fbc22 --- /dev/null +++ b/diamond_paper_figures/Makefile @@ -0,0 +1,17 @@ +#!/usr/bin/make -f + +DIAMOND_FIGURES=$(patsubst %,diamond_%.jpg,F1 SF1 SF2 SF3) + +MBLAST_FIGURES=$(patsubst %,mblast_%.png,1 2 3 4 5 6) + +all: $(DIAMOND_FIGURES) $(MBLAST_FIGURES) + + + +$(DIAMOND_FIGURES): diamond_%.jpg: + wget -O $@ "http://www.nature.com/nmeth/journal/v12/n1/images/nmeth.3176-$*.jpg" + +$(MBLAST_FIGURES): mblast_%.png: + wget -O temp.gif "http://www.omicsonline.org/JDMGPimages/2153-0602-4-135-g00$*.gif" + convert temp.gif $@ + rm -f temp.gif