]> code.communitydata.science - ml_measurement_error_public.git/blob - charts/example_3_dag/Makefile
make first simulation with precise accuracies and explained variances
[ml_measurement_error_public.git] / charts / example_3_dag / Makefile
1 #!/usr/bin/make
2
3 all: $(patsubst %.tex,%.svg,$(wildcard *.tex)) $(patsubst %.tex,%.png,$(wildcard *.tex)) 
4
5 %.png: %.pdf
6         convert -density 300 -transparent white $< $@
7
8 %.svg: %.pdf
9         /usr/bin/inkscape $< --export-plain-svg=$@
10
11
12 %.pdf: %.tex 
13         latexmk -f -pdf $<
14
15 clean: 
16         latexmk -C *.tex
17         rm -f *.tmp
18         rm -f vc
19         rm *.svg
20
21 viewpdf: all
22         evince *.pdf
23
24 vc:
25         vc-git
26
27 pdf: all
28
29 .PHONY: clean all

Community Data Science Collective || Want to submit a patch?