I wonder if I can run, say, a shell script before actually starting latexmk routine?
I've found compiling_cmd, but it doesn't seem to work for me.
I can write custom shell script to call anything I want in any order, of caurse, but I'd be pleased to find native latexmk solution.
Just in case there's another solution: I have several .dia files which are exported to png in order to insert them as figures. My script just forces Dia to update those png's.
The reason why I'm looking for latexmk solution is that I'm using texstudio which is configured to run latexmk by default, so I don't want to have unique build command for one of my documents.