Rubber
Rubber is a small, extensible tool for compiling LaTeX documents. LaTeX is notoriously difficult to handle in Makefiles–the set of generated files depends on the document contents–but Rubber offers a brilliant solution. I’ve entirely stopped using Makefiles when compling LaTeX documents ever since I found it.
I have written a couple of modules for Rubber related to handling glossaries.
I’ve tried two LaTeX packages to handle my glossaries, makeglos and gloss
I ended up writing rubber modules to handle both of them.
You can get the modules here. Take a look at the README for instructions.