Split main Makefile into html and pdf