.PHONY: all

all: build/cgu.pdf build/cgu_n.pdf

build:
	mkdir build

build/cgu.tex: cgu.tex
	cp $< $@

build/cgu_n.tex: cgu.tex
	cat $< | sed -e 's/{hide notes}/{show notes on second screen}/' > $@

build/%.pdf: build/%.tex
	pdflatex -output-directory build $<
	pdflatex -output-directory build $<
