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

13 lines
335 B
Makefile
Raw Normal View History

.PHONY: clean
clean:
rm -f revealjs/*/index.html revealjs/*/index.pdf */*/handout.pdf
revealjs/%/index.html: revealjs/%/*.md
python3 revealjs/build.py $@
revealjs/%/index.pdf: revealjs/%/index.html
decktape --no-sandbox -s 1920x1200 $< $@
%/handout.pdf: %/handout.odt
libreoffice --headless --convert-to pdf "$<" --outdir $(@D)