# This code snippet allows latexmk to process asymptote files
# including those in subdirectories.
sub asy {
  my $fn = shift;
  my ($basename, $dirname) = fileparse($fn);
  return system("asy -cd '$dirname' '$basename'");
}
add_cus_dep("asy","eps",0,"asy");
add_cus_dep("asy","pdf",0,"asy");
add_cus_dep("asy","tex",0,"asy");
#
# This sets the default file to be our document so we can run
# latexmk without an argument.
@default_files = ('linear_algebra_I');
#
