default:
.PHONY: clean
clean:
rm -f \
*/*/handout.pdf \
latex/*/index.pdf \
revealjs/*/index.html \
revealjs/*/index.pdf
revealjs/%/index.html: revealjs/%/*.md
python3 revealjs/build.py $@
%/handout.pdf: %/handout.odt
libreoffice --headless --convert-to pdf "$<" --outdir $(@D)