bsc-leon-vatthauer/Makefile
2023-08-19 12:37:03 +02:00

17 lines
No EOL
577 B
Makefile

.PHONY: all clean
all: Everything.agda
agda --html --html-dir=out Everything.agda --html-highlight=auto -i.
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 Everything.agda
rm -rf out/*
open:
firefox out/MonadK.html
firefox out/ElgotAlgebra.html
Everything.agda:
git ls-tree --full-tree -r --name-only HEAD | egrep '^src/[^\.]*.l?agda(\.md)?' | sed -e 's|^src/[/]*|import |' -e 's|/|.|g' -e 's/.agda//' -e '/import Everything/d' -e 's/..md//' | LC_COLLATE='C' sort > Everything.agda