2018-04-22 10:10:27 +00:00
|
|
|
.PHONY: run pdf ghci
|
|
|
|
|
|
|
|
INPUT = sketch.md.lhs
|
|
|
|
|
|
|
|
pdf: $(INPUT)
|
2018-04-22 22:22:21 +00:00
|
|
|
pandoc -f markdown+lhs+smart+emoji -H make-code-footnotesize.tex \
|
|
|
|
-o documentation.pdf $(INPUT)
|
|
|
|
|
|
|
|
slides: $(INPUT)
|
|
|
|
pandoc -f markdown+lhs+smart+emoji -t revealjs --self-contained --incremental \
|
|
|
|
-o documentation.html $(INPUT)
|
2018-04-22 10:10:27 +00:00
|
|
|
|
|
|
|
|
|
|
|
run: $(INPUT)
|
|
|
|
runhaskell $(INPUT)
|
|
|
|
|
|
|
|
ghci: $(INPUT)
|
|
|
|
ghci $(INPUT)
|