.PHONY: all render slides pdf handouts preview

DECK ?= 01-unix-shell
PYTHON ?= python3

all: slides handouts

render: slides

slides:
	quarto render cours --to revealjs

pdf:
	quarto render cours --to beamer

handouts: pdf
	$(PYTHON) scripts/print_handouts.py

preview:
	quarto preview cours/$(DECK).qmd --to revealjs
