updated logo to the new CDSC logo (used instead of our individual institutional logos)
[beamer-mako] / template / Makefile
1 #!/usr/bin/make
2
3 all: notes.config vc $(patsubst %.tex,%.pdf,$(wildcard *.tex)) 
4 pdf: all
5
6 %.pdf: %.tex 
7         rubber -fd $<
8         qpdf --qdf --object-streams=disable $@ - | sponge $@
9         sed -e 's|/PageLabels|/BageLapels|g' < $@ |sponge $@
10         qpdf $@ - | sponge $@
11
12 # by default, we produce combined notes/slides output
13 notes.config:
14         echo '\setbeameroption{show notes on second screen}' > notes.config
15
16 # rules for generating notesonly
17 notesonly-config:
18         echo '\setbeameroption{show only notes}' > notes.config
19 notesonly: notesonly-config pdf
20
21 # rules for generating slides only
22 slides-config:
23         echo '' > notes.config
24 slides: slides-config pdf
25
26 viewpdf: all
27         evince *.pdf
28
29 pdfpc: notes.config pdf
30         pdfpc -n right *pdf
31
32 spell:
33         aspell -c -t --tex-check-comments -b text.tex
34
35 vc:
36         vc-git
37
38 clean: 
39         rubber -d --clean *.tex
40         rm -f *.tmp
41         rm -f vc
42         rm -f notes.config
43         rm -f *.pdfpc
44
45 .PHONY: clean all notesonly-config notesonly slides-config slides viewpdf pdfpc spell

Benjamin Mako Hill || Want to submit a patch?