X-Git-Url: https://code.communitydata.science/ml_measurement_error_public.git/blobdiff_plain/47e9367ed5c61b721bdc17cddd76bced4f8ed621..b04f18afb78519c154a02048a6e8a1883cae6702:/charts/Makefile?ds=inline diff --git a/charts/Makefile b/charts/Makefile new file mode 100644 index 0000000..4288d05 --- /dev/null +++ b/charts/Makefile @@ -0,0 +1,29 @@ +#!/usr/bin/make + +all: $(patsubst %.tex,%.svg,$(wildcard *.tex)) $(patsubst %.tex,%.png,$(wildcard *.tex)) + +%.png: %.pdf + convert -density 300 -transparent white $< $@ + +%.svg: %.pdf + /usr/bin/inkscape $< --export-plain-svg --export-type=svg --export-filename=$@ + +%.pdf: %.tex + latexmk -f -pdf $< + +clean: + latexmk -C *.tex + rm -f *.tmp + rm -f vc + rm *.svg + + +viewpdf: all + evince *.pdf + +vc: + vc-git + +pdf: all + +.PHONY: clean all