diff options
-rw-r--r-- | beamer_lecture.mk | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/beamer_lecture.mk b/beamer_lecture.mk index 479f948..85b583e 100644 --- a/beamer_lecture.mk +++ b/beamer_lecture.mk @@ -20,16 +20,24 @@ beamer_lecture_includes = $(wildcard body/*.tex) beamer_lecture_inputs += $(beamer_lecture_includes:%=\\\\input{%}) toc_t2t = toc.t2t +toc_md_incl = toc.md_incl -toc: $(toc_t2t) +toc: $(toc_t2t) $(toc_md_incl) + $(toc_t2t): $(tex_includes) ../bin/lecture_toc_creator.sh > $@ +$(toc_md_incl): $(tex_includes) + ../bin/lecture_toc_md_creator.sh > $@ + real_clean_toc: ifneq ($(strip $(toc_t2t)),) rm -f $(toc_t2t) endif +ifneq ($(strip $(toc_md_incl)),) + rm -f $(toc_md_incl) +endif real_clean_beamer_lecture_headers: rm -f $(beamer_lecture_tex) |