Modify Makefile to faciliate generic pdf file construction.