Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (13 sloc) 618 Bytes
FILES = *.md
PANDOC = pandoc -s
CSS =screen.css
html: ${FILES} Makefile
${PANDOC} -t html5 --section-divs -c ${CSS} -o out/602.html *.md
odt: ${FILES} Makefile
${PANDOC} -s -t odt -o out/${OUTFN}.odt ${FILES}
pdf: ${FILES} Makefile
${PANDOC} -t latex --template templates/latex.tmpl -o out/605.tex 605.md
${PANDOC} -t latex --template templates/latex.tmpl -o out/605-syllabus.tex 605-syllabus.md
${PANDOC} -t latex --template templates/latex.tmpl -o out/605-issues.tex 605-issues.md
cd out; lualatex 605.tex; lualatex 605-syllabus.tex; lualatex 605-issues.tex; rm *.{aux,out,log,tex}; cd ..
all: html odt