summaryrefslogtreecommitdiff
path: root/graphics/asymptote/doc/latexmkrc
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/asymptote/doc/latexmkrc')
-rw-r--r--graphics/asymptote/doc/latexmkrc3
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/asymptote/doc/latexmkrc b/graphics/asymptote/doc/latexmkrc
index fbc52a98d2..646594e4da 100644
--- a/graphics/asymptote/doc/latexmkrc
+++ b/graphics/asymptote/doc/latexmkrc
@@ -1,4 +1,5 @@
-sub asy {return system("asy \"$_[0]\"");}
+sub asy {return system("asy -o '$_[0]' '$_[0]'");}
add_cus_dep("asy","eps",0,"asy");
add_cus_dep("asy","pdf",0,"asy");
add_cus_dep("asy","tex",0,"asy");
+push @generated_exts, "pre", "%R-[0-9]*.pdf", "%R-[0-9]*.prc", "%R-[0-9]*.tex", "%R-[0-9]*.out", "%R-[0-9]*.pbsdat", "%R.pbsdat", "%R-[0-9]*.eps", "%R-*.asy" \ No newline at end of file