bsc-leon-vatthauer/Makefile

17 lines
593 B
Makefile
Raw Normal View History

2023-08-19 12:15:34 +02:00
.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