drop_acid_pycon_2009 / Makefile

OUTPUT=slides.html# slides.pdf

all: $(OUTPUT)

	rm -f $(OUTPUT) slides.{snm,aux,out,log,nav,toc,latex}

slides.latex: slides.txt ui/beamerdefs.txt ui/stylesheet.latex ui/author.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

slides.html: slides.txt includes/*.html
	rst2s5.py --theme-url ui/mochikit slides.txt $@
	./bin/fixup_definitions.py $@

testdata.db: bin/make_testdata.py
	./bin/make_testdata.py $@

.PHONY: all clean
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.