Let assume that I want to compile the document doc.tex with
latexmk and clear the processing files. When I do
latexmk -c doc.tex, it gives me the following output :
Latexmk: This is Latexmk, John Collins, 11 Nov. 2012, version: 4.35. **** Report bugs etc to John Collins <collins at phys.psu.edu>. **** Latexmk: Examining log file 'doc.log' for generated files...
and nothing, the document isn't compiled. But if I do successively do
latexmk doc.tex then
latexmk -c doc.tex, the document is compiled at the first step and the processing files are removed at the second step.
So my question is, why the first method doesn't work, and how to do it in only one step ?