Fix bug in Makefile

This could cause the document not to be rebuilt if only transcluded TeX
documents had changed.