I have just givenThere is an answer to a similar problem. Features:
- Shows how to use checksum files with controlled timestamps where necessary.
- There, it's not
.auxto.bblbut index files.nloto.nls, but you get the idea.
- There, it's not
- Alternatively recommends
latexmk.- Shows how to use
latexmkwith automatic dependency tracking in a GNU Makefile. - Example configuration
latexmkrcfor custommakeindexfiles as used by thenomenclpackage.
- Shows how to use
Have fun.