Make decktape run in docker

This commit is contained in:
Simon Bruder 2020-03-07 14:34:40 +00:00
parent ce84322d0a
commit 425640e2b5
No known key found for this signature in database
GPG key ID: 6F03E0000CC5B62F

View file

@ -8,7 +8,7 @@ revealjs/%/index.html: revealjs/%/*.md
python3 revealjs/build.py $@
revealjs/%/index.pdf: revealjs/%/index.html
decktape --no-sandbox -s 1920x1200 $< $@
docker run --rm -t -v ${PWD}:/slides astefanutti/decktape -s 1920x1200 $< $@
%/handout.pdf: %/handout.odt
libreoffice --headless --convert-to pdf "$<" --outdir $(@D)