]> git.donarmstrong.com Git - mash_minhash_presentation.git/blob - mash_minhash_paper/Makefile
add initial work on minhash paper slides for hpcbio
[mash_minhash_presentation.git] / mash_minhash_paper / Makefile
1 #!/usr/bin/make -f
2
3 all: fig_1.png fig_2.png fig_3.png fig_4.png fig_5.png paper_frontpage.png
4
5 paper_images: paper.pdf
6         pdfimages -j -png $< paper
7         touch $@
8
9 supplemental_images: supplemental_info.pdf
10         pdfimages -j -png $< supplemental && touch $@
11
12 paper.pdf:
13         wget -O $@ "http://download.springer.com/static/pdf/329/art%253A10.1186%252Fs13059-016-0997-x.pdf?originUrl=http%3A%2F%2Fgenomebiology.biomedcentral.com%2Farticle%2F10.1186%2Fs13059-016-0997-x&token2=exp=1466533957~acl=%2Fstatic%2Fpdf%2F329%2Fart%25253A10.1186%25252Fs13059-016-0997-x.pdf*~hmac=9273fd8d3eace11243411b29e4939168805da42e97cb7668f1fedd782d4389e8"
14
15 paper_frontpage.png: paper.pdf
16         convert -density 300 -depth 8 -quality 85 -crop '2100x1600+200+100' '$<[0]' $@
17
18 fig_%.gif:
19         wget -O $@ "https://static-content.springer.com/image/art%3A10.1186%2Fs13059-016-0997-x/MediaObjects/13059_2016_997_Fig$(*)_HTML.gif"
20
21
22 fig_%.png: fig_%.gif
23         convert -trim +repage $< $@
24
25 supplemental_info.pdf:
26         wget -O $@ "https://static-content.springer.com/esm/art%3A10.1186%2Fs13059-016-0997-x/MediaObjects/13059_2016_997_MOESM1_ESM.pdf"
27