Make decktape run in docker
This commit is contained in:
parent
ce84322d0a
commit
425640e2b5
2
Makefile
2
Makefile
|
@ -8,7 +8,7 @@ revealjs/%/index.html: revealjs/%/*.md
|
||||||
python3 revealjs/build.py $@
|
python3 revealjs/build.py $@
|
||||||
|
|
||||||
revealjs/%/index.pdf: revealjs/%/index.html
|
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
|
%/handout.pdf: %/handout.odt
|
||||||
libreoffice --headless --convert-to pdf "$<" --outdir $(@D)
|
libreoffice --headless --convert-to pdf "$<" --outdir $(@D)
|
||||||
|
|
Reference in a new issue