From 5c8ec0186a29b0ca4d0500782419bfc1e62fb509 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Mon, 10 Apr 2023 12:41:17 +0200 Subject: ignore more files and support building slides-*.md variants Building slides-*.md allows to have multiple variants of the slides per lesson depending on the prior lessons or the class. --- .gitignore | 5 ++++- common.mk | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index e0453c56..cab0064f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,8 @@ -Copyrighted/* +*Copyrighted schedule.pdf slides.pdf handout.pdf sequence.pdf +*_minted-handout +*.aux +*.log diff --git a/common.mk b/common.mk index c3697093..0b2ba02a 100644 --- a/common.mk +++ b/common.mk @@ -22,7 +22,7 @@ sequence.pdf: sequence.md $(MAKEFILE_LIST) schedule.pdf: schedule.md $(MAKEFILE_LIST) $(PANDOC) $< -f $(SCHEDULE_FORMAT) -o $@ -slides.pdf: slides.md $(wildcard img/*) $(MAKEFILE_LIST) +slides%.pdf: slides%.md slides.md $(wildcard img/*) $(MAKEFILE_LIST) $(PANDOC) $(SLIDES_OPTIONS) -f $(SLIDES_FORMAT) $< -o $@ %.pdf: %.tex $(MAKEFILE_LIST) -- cgit v1.2.3