Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
30 lines (18 sloc) 596 Bytes
SHELL := /bin/bash
tsv_files = $(addprefix results/,$(addsuffix .tsv,$(benchmarks)))
png_files = $(subst pdf,png,$(wildcard pdfs/*.pdf))
all: fixtures results pdfs pngs
./benchmark/run.js "`basename $@ .tsv`" | tee $@
results: $(tsv_files)
pdfs: $(tsv_files)
pngs: $(png_files)
$(png_files): pngs/%.png: pdfs/%.pdf
convert -density 300 $^ -resize 1024x $@
rm -f results/*.tsv pngs/*.png pdfs/*.pdf
fixtures: $(fixtures)
curl -z '$@' -o '$@' "`basename $@`"
.PHONY: all fixtures pdfs pngs results clean
Something went wrong with that request. Please try again.