latexmk

Perl script for running LaTeX the correct number of times
  https://www.cantab.net/users/johncollins/latexmk/index.html
  0
  no reviews



Latexmk runs LaTeX the correct number of times to resolve cross references, etc; it also runs auxiliary programs (bibtex, makeindex if necessary, and dvips and/or a previewer as requested). It has a number of other useful capabilities, for example to start a previewer and then run LaTeX whenever the source files are updated, so that the previewer gives an up-to-date view of the document.