]> projects.mako.cc - beamer-mako/blob - template/Makefile
added more spacing into the centertext command
[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
9 # by default, we produce combined notes/slides output
10 notes.config:
11         echo '\setbeameroption{show notes on second screen}' > notes.config
12
13 # rules for generating notesonly
14 notesonly-config:
15         echo '\setbeameroption{show only notes}' > notes.config
16 notesonly: notesonly-config pdf
17
18 # rules for generating slides only
19 slides-config:
20         echo '' > notes.config
21 slides: slides-config pdf
22
23 viewpdf: all
24         evince *.pdf
25
26 pdfpc: notes.config
27         pdfpc -n right *pdf
28
29 spell:
30         aspell -c -t --tex-check-comments -b text.tex
31
32 vc:
33         vc-git
34
35 clean: 
36         rubber -d --clean *.tex
37         rm -f *.tmp
38         rm -f vc
39         rm -f notes.config
40         rm -f *.pdfpc
41
42 .PHONY: clean all notesonly-config notesonly slides-config slides viewpdf pdfpc spell

Benjamin Mako Hill || Want to submit a patch?