From: W. Trevor King Date: Fri, 20 May 2011 19:47:58 +0000 (-0400) Subject: Add svg output to Asymptote tests (via dvisvgm). X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a2a5340fb85bddf86740ea75a1a2e1a535c68d83;p=course.git Add svg output to Asymptote tests (via dvisvgm). --- diff --git a/asymptote/Makefile b/asymptote/Makefile index a76cdb7..bd9c7da 100644 --- a/asymptote/Makefile +++ b/asymptote/Makefile @@ -18,7 +18,9 @@ MODULES = Circ ElectroMag Mechanics stickfigure -all : pdfs pngs +all : svgs pdfs pngs + +svgs : $(MODULES:%=%-test.svg) pdfs : $(MODULES:%=%-test.pdf) @@ -32,6 +34,9 @@ clean : %-view : %-test.pdf xpdf $< & +%-test.svg : %-test.asy $(MODULES:%=%.asy) + asy -f svg $< + %-test.pdf : %-test.asy $(MODULES:%=%.asy) asy -f pdf $<