mirror of
https://git8.cs.fau.de/theses/bsc-leon-vatthauer.git
synced 2024-05-31 07:28:34 +02:00
17 lines
593 B
Makefile
17 lines
593 B
Makefile
|
.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
|