Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (14 sloc) 524 Bytes
OUTPUT=index.html slides.html slides.pdf
all: $(OUTPUT)
clean:
rm -f $(OUTPUT) slides.{snm,aux,out,log,nav,toc,latex}
slides.latex: slides.txt ui/beamerdefs.txt ui/stylesheet.latex
./bin/rst2beamer.py --stylesheet=ui/stylesheet.latex --documentoptions=14pt slides.txt $@
sed -i.old 's/\\date{}/\\input{ui\/author.latex}/' $@
slides.pdf: slides.latex
pdflatex slides.latex
index.html: slides.html
cp $< $@
slides.html: slides.txt includes/*.html
rst2s5.py --theme-url ui/mochikit slides.txt $@
.PHONY: all clean