2023-08-19 16:01:48 +02:00
|
|
|
.PHONY: all clean pandoc
|
2023-08-19 12:15:34 +02:00
|
|
|
|
2023-08-19 16:01:48 +02:00
|
|
|
all: agda
|
|
|
|
make pandoc
|
|
|
|
|
2023-08-19 16:11:22 +02:00
|
|
|
pandoc: public/*.md
|
2023-08-19 16:01:48 +02:00
|
|
|
@$(foreach file,$^, \
|
|
|
|
pandoc $(file) -s -c Agda.css -o $(file:.md=.html) ; \
|
|
|
|
)
|
|
|
|
|
2023-09-11 13:57:10 +02:00
|
|
|
agda: Everything.agda
|
2023-08-19 16:11:22 +02:00
|
|
|
agda --html --html-dir=public Everything.agda --html-highlight=auto -i.
|
2023-08-19 12:15:34 +02:00
|
|
|
|
|
|
|
clean:
|
2023-08-19 12:19:14 +02:00
|
|
|
rm Everything.agda
|
2023-08-19 16:11:22 +02:00
|
|
|
rm -rf public/*
|
2023-08-19 12:15:34 +02:00
|
|
|
|
|
|
|
open:
|
2023-08-19 16:11:22 +02:00
|
|
|
firefox public/Everything.html
|
2023-08-19 12:15:34 +02:00
|
|
|
|
2023-09-11 13:57:10 +02:00
|
|
|
push: all
|
|
|
|
mv public/Everything.html public/index.html
|
2023-09-11 20:54:21 +02:00
|
|
|
chmod +w public/Agda.css
|
|
|
|
mv public bsc-thesis
|
|
|
|
scp -r bsc-thesis hy84coky@cip2a7.cip.cs.fau.de:.www/
|
|
|
|
mv bsc-thesis public
|
2023-09-11 13:57:10 +02:00
|
|
|
|
|
|
|
|
2023-08-19 12:15:34 +02:00
|
|
|
Everything.agda:
|
2023-09-11 13:57:10 +02:00
|
|
|
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
|