Possible Duplicate:
Tools for automating document compilation
Is there a single command which would run bibtex, makeglossary (pdflatex x N ...) etc. automatically?
I could create Makefile but it seems like overkill - is there a command for it? (LuaTeX support would be a plus).
latexmk
can probably do all that, it is a Perl script for fully automated typesetting, and is included in both TeX Live and MikTeX. Or you could check outarara
(search this site for some examples).bibtex
,makeglossary
, etc, to the first code snipppet in my answer. I am assuming that you are using Windows OS.