Generate images from dot files
Allow subdirectories in figures/ and tex/
Use the original bibfiles in dependency checking

The copies in build/ may have misleading mtimes.
Remove commented-out code
Make sure we re-run bibtex when the .bib files change