pdflatex generates a lot of files that are of no use to me but are important to pdflatex (.aux, .fls, .log, .nav, .toc etc). How can I hide these files, e.g by putting them in some other, global directory? I don't want to see them when using LaTeX normally.
latexmk has the -auxdir option, but it only works with MiKTeX.