stem=example-presentation

all: $(stem)-slides.pdf

clean:
	rm -f $(stem){-slides.pdf,-notes.pdf,.toc,.log}

$(stem)-slides.pdf: $(stem).texi background.svg
	texi-to-pdf-presentation "$<" "$@"

$(stem)-notes.pdf: $(stem).texi
	texi2pdf -o "$@" "$<"
