Update the dependency rules for main.pdf.

They now include all possible files that could impact the recreation of
the PDF file.