15 lines
381 B
Makefile
15 lines
381 B
Makefile
default:
|
|
|
|
.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
|
|
docker run --rm -t -v ${PWD}:/slides astefanutti/decktape -s 1920x1200 $< $@
|
|
|
|
%/handout.pdf: %/handout.odt
|
|
libreoffice --headless --convert-to pdf "$<" --outdir $(@D)
|