all: rpc.pdf

## rpc.pdf is the file for projecting; h.pdf is the version with the handouts.

rpc.pdf: rpc.tex
	pdflatex -interaction=nonstopmode rpc

h.pdf: rpc.tex
	pdflatex -jobname='h' -interaction=nonstopmode \
	'\newcommand{\handouts}{true}\input{$^}'


.PHONY:
clean:
	rm -f rpc.pdf \
	regionsje.* *.dvi *.aux *.log \
	*.nav *.out *.snm *.toc


rpc.zip: filelist
	zip rpc.zip -r -@ < filelist