sketch -T sample.sk -o sample.tex
pdflatex sample.tex
add_cus_dep('sk', 'tex', 0, 'makesketch');
sub makesketch {
system("sketch -T '$_[0]'.sk -o '$_[0]'.tex");
system("pdflatex '$_[0]'.tex");
}
Subroutine makesketch redefined at (eval 16) line 2, <GEN1> chunk 1.
Latexmk: This is Latexmk, John Collins, 11 Nov. 2012, version: 4.35.
**** Report bugs etc to John Collins <collins at phys.psu.edu>. ****
Latexmk: No file name specified, and I couldn't find any