SOURCES		= tutorial.md installation.md what.md first.md supervisor.md goodpractices.md compose.md project.md
PANDOCOPTS	= --latex-engine=xelatex \
		  --standalone \
		  --normalize \
		  --number-sections \
		  --smart \
		  -M lang=french \
		  -M fontsize=12pt \
		  -M papersize=a4paper \
		  -M mainfont="Linux Libertine O" \
		  -M monofont="Inconsolata" \
		  -M sansfont="Linux Biolinum O" \
		  --include-in-header=../header.tex


all: tutorial.pdf

tutorial.pdf: ${SOURCES}
	pandoc ${PANDOCOPTS} -o $@ $+

clean::
	rm tutorial.pdf
