bsc-leon-vatthauer/Makefile

17 lines
549 B
Makefile
Raw Normal View History

2023-08-19 12:15:34 +02:00
.PHONY: all clean
2023-08-19 12:19:14 +02:00
all: Everything.agda
agda --html --html-dir=out Everything.agda --html-highlight=auto
2023-08-19 12:15:34 +02:00
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:
2023-08-19 12:19:14 +02:00
rm Everything.agda
2023-08-19 12:15:34 +02:00
rm -rf out/*
open:
firefox out/MonadK.html
firefox out/ElgotAlgebra.html
Everything.agda:
2023-08-19 12:19:14 +02:00
git ls-tree --full-tree -r --name-only HEAD | grep '^src/[^\.]*.agda' | sed -e 's|^src/[/]*|import |' -e 's|/|.|g' -e 's/.agda//' -e '/import Everything/d' | LC_COLLATE='C' sort > Everything.agda