.PHONY: all clean all: MonadK.lagda.md agda --html --html-dir=out MonadK.lagda.md --html-highlight=auto agda --html --html-dir=out ElgotAlgebra.lagda.md --html-highlight=auto pandoc out/MonadK.md -s -c Agda.css -o out/MonadK.html pandoc out/ElgotAlgebra.md -s -c Agda.css -o out/ElgotAlgebra.html clean: rm -rf out/* open: firefox out/MonadK.html firefox out/ElgotAlgebra.html Everything.agda: git ls-tree --full-tree -r --name-only HEAD | grep '^[^\.]*.agda' | sed -e 's|^[/]*|import |' -e 's|/|.|g' -e 's/.agda//' -e '/import Everything/d' | LC_COLLATE='C' sort > Everything.agda