This repository has been archived on 2022-03-27. You can view files and clone it, but cannot push or open issues or pull requests.
presis/Makefile
2020-10-11 17:46:36 +02:00

16 lines
292 B
Makefile

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)