SoftVarE-Group / Course-on-Software-Product-Lines

Material for lectures on software product lines
Creative Commons Attribution Share Alike 4.0 International
11 stars 0 forks source link

Makefile Should Reset Changed Lines to Defaults for Commits #3

Closed tthuem closed 1 year ago

tthuem commented 1 year ago

Right now, the makefile changes the source files (*.tex) to set handout and university. Unfortunately, it is hard to track other changes in the tex files due to these changes and they can easily be committed to the repository.

Can we reset the files to their default values (handout and no university) once make is done? Does this negatively impact incremental compilation of the files?

ekuiter commented 1 year ago

I suppose we could maybe pass these as "environment variables" to Latex (not sure if that's possible) or only write them into a single file, which is then included (and not committed into the repository).

ekuiter commented 1 year ago

I changed the Makefile to not modify source files anymore as suggested above. Default values are stored in slides/template/options.tex.

tthuem commented 1 year ago

Works great, thanks!