OPTIONS = --filter=pandoc-numbering OPTIONS += --filter=pandoc-crossref PDFOPTIONS = --highlight-style my_highlight.theme PDFOPTIONS += --pdf-engine pdflatex PDFOPTIONS += --number-sections PDFOPTIONS += --template=./default.latex HTMLOPTIONS += -t html5 HTMLOPTIONS += -c css/tufte-css/tufte.css HTMLOPTIONS += --self-contained all: base_2.pdf base_1.pdf intro.pdf index.html intro.pdf: intro.md *.theme pandoc -t beamer -o $@ $< base_1.pdf: base_1.md *.theme pandoc -t beamer -o $@ $< base_2.pdf: base_2.md *.theme figs/memory.svg pandoc -t beamer -o $@ $< index.html: index.md pandoc -s $(OPTIONS) $(HTMLOPTIONS) -o $@ $< deploy: all mkdir -p prog_seq_c_cours cp *.pdf prog_seq_c_cours cp index.html prog_seq_c_cours/ clean: rm -f *.pdf index.html