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

15 lines
345 B
Makefile
Raw Normal View History

2020-02-25 01:47:25 +01:00
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
decktape --no-sandbox -s 1920x1200 $< $@
%/handout.pdf: %/handout.odt
libreoffice --headless --convert-to pdf "$<" --outdir $(@D)