From 5413de3fc6c3b52cdfa0606390c0f952332b2b78 Mon Sep 17 00:00:00 2001 From: Eugeniy Mikhailov Date: Mon, 31 Aug 2015 11:37:16 -0400 Subject: improved beamer_lecture makefile --- beamer_lecture.mk | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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) -- cgit v1.2.3