This repository has been archived on 2022-03-27. You can view files and clone it, but cannot push or open issues/pull-requests.
2018-08-30 14:48:18 +02:00
|
|
|
.PHONY: clean
|
2018-04-11 17:16:12 +02:00
|
|
|
clean:
|
2018-08-30 14:48:18 +02:00
|
|
|
rm -f revealjs/*/index.html revealjs/*/index.pdf */*/handout.pdf
|
2018-04-11 17:16:12 +02:00
|
|
|
|
2018-08-30 14:48:18 +02:00
|
|
|
revealjs/%/index.html: revealjs/%/*.md
|
|
|
|
python3 revealjs/build.py $@
|
2018-04-11 17:16:12 +02:00
|
|
|
|
|
|
|
revealjs/%/index.pdf: revealjs/%/index.html
|
2018-06-09 16:04:26 +02:00
|
|
|
decktape --no-sandbox -s 1920x1200 $< $@
|
2018-04-11 17:16:12 +02:00
|
|
|
|
|
|
|
%/handout.pdf: %/handout.odt
|
|
|
|
libreoffice --headless --convert-to pdf "$<" --outdir $(@D)
|