diff --git a/make-includes/build_lecture_rules.make b/make-includes/build_lecture_rules.make index 7392d67..b06150e 100755 --- a/make-includes/build_lecture_rules.make +++ b/make-includes/build_lecture_rules.make @@ -66,8 +66,8 @@ # # List of standard "phony" build targets. # -TARGETS+=all slides notes slides-combined slides-notes figures combined \ - debug test clean tidy targets +TARGETS+=all slides notes slides-combined slides-notes figures figures2up \ + combined debug test clean tidy targets # .PHONY: $(TARGETS) @@ -84,7 +84,7 @@ # # Build everything. # -all: slides notes figures combined +all: slides notes figures figures2up combined ################################################################################ @@ -210,9 +210,14 @@ pdflatex $< pdflatex $< +figures2up: $(FIGURES)-reduced.pdf + +$(FIGURES)-reduced.pdf: $(FIGURES).pdf + pdfnup $< --nup 2x1 --outfile $@ + else -figures: +figures figures2up: $(call disabled_message,$@) endif