hoelzer / dfg

A LaTeX template for a basic DFG (Deutsche Forschungsgemeinschaft, German Research Foundation) grant proposal.
GNU General Public License v3.0
69 stars 44 forks source link

changed makefile to add a clean option and the filename as variable #5

Closed dl1chb closed 3 years ago

dl1chb commented 3 years ago

I changed the Makefile shortly to have a "make clean" option to remove all temp files. Also put in the filename of the proposal as a file variable. This could make things more easy when writing several proposals at the same time.

hoelzer commented 3 years ago

@dl1chb thanks! One question: when I now run

make

the dfg.pdf will be generated, copied to ../, and then all intermediate LaTeX files, as well as the PDF, will be deleted. This behavior could be dangerous if I have in ../ already another PDF file with the same name that will then be overwritten. Thus, I would suggest keeping the compiled PDF in the same folder. What do you think?

dl1chb commented 3 years ago

In this case, yes, it can be dangerous. [edit]since it is all in .gitignore, make clean now just leafes the .pdf as it is[/edit]

hoelzer commented 3 years ago

Great, thanks!