]> code.communitydata.science - ml_measurement_error_public.git/blob - charts/example_1_dag/Makefile
update simulation code for examples 1-3
[ml_measurement_error_public.git] / charts / example_1_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 %.pdf: %.tex 
12         latexmk -f -pdf $<
13
14 clean: 
15         latexmk -C *.tex
16         rm -f *.tmp
17         rm -f vc
18         rm *.svg
19
20 viewpdf: all
21         evince *.pdf
22
23 vc:
24         vc-git
25
26 pdf: all
27
28 .PHONY: clean all

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