Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
25 lines (15 sloc) 459 Bytes
SHELL := /bin/bash
tsv_files = $(addprefix results/,$(addsuffix .tsv,$(benchmarks)))
png_files = $(subst pdf,png,$(wildcard pdfs/*.pdf))
all: pdfs pngs tsvs
./benchmark/run.js "`basename $@ .tsv`" | tee $@
tsvs: $(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
.PHONY: all pdfs pngs tsvs clean
Jump to Line
Something went wrong with that request. Please try again.