From a2a5340fb85bddf86740ea75a1a2e1a535c68d83 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Fri, 20 May 2011 15:47:58 -0400 Subject: [PATCH] Add svg output to Asymptote tests (via dvisvgm). --- asymptote/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 $< -- 2.26.2