update template tex makefile dependencies. add target tex file