Fix makefile

This commit is contained in:
Leon Vatthauer 2023-12-05 11:51:08 +01:00
parent c97a981b25
commit 8c5bb0d77e
Signed by: leonv
SSH key fingerprint: SHA256:G4+ddwoZmhLPRB1agvXzZMXIzkVJ36dUYZXf5NxT+u8
2 changed files with 12 additions and 7 deletions

View file

@ -1,4 +1,4 @@
.PHONY: all clean pandoc .PHONY: all clean pandoc Everything.agda
all: agda all: agda
make pandoc make pandoc
@ -9,7 +9,7 @@ pandoc: public/*.md
) )
agda: Everything.agda agda: Everything.agda
agda --html --html-dir=public src/index.lagda.md --html-highlight=auto -i. agda --html --html-dir=public index.lagda.md --html-highlight=auto -i.
rm -f public/Agda.css rm -f public/Agda.css
cp Agda.css public/Agda.css cp Agda.css public/Agda.css
@ -19,17 +19,16 @@ clean:
find . -name '*.agdai' -exec rm \{\} \; find . -name '*.agdai' -exec rm \{\} \;
# push compiled html to my cip directory # push compiled html to my cip directory
push: all push' push: all
# just push to CIP without rebuilding
push':
chmod +w public/Agda.css chmod +w public/Agda.css
mv public bsc-thesis mv public bsc-thesis
scp -r bsc-thesis hy84coky@cip2a7.cip.cs.fau.de:.www/ scp -r bsc-thesis hy84coky@cip2a7.cip.cs.fau.de:.www/
mv bsc-thesis public mv bsc-thesis public
Everything.agda: Everything.agda:
git ls-tree --full-tree -r --name-only HEAD | egrep '^src/[^\.]*.l?agda(\.md)?' | grep -v 'index.lagda.md' | sed -e 's|^src/[/]*|import |' -e 's|/|.|g' -e 's/.agda//' -e '/import Everything/d' -e 's/..md//' | LC_COLLATE='C' sort > src/Everything.agda echo "{-# OPTIONS --guardedness #-}" > Everything.agda
git ls-tree --full-tree -r --name-only HEAD | egrep '^src/[^\.]*.l?agda(\.md)?' | grep -v 'index.lagda.md' | grep -v 'bsc.agda-lib' | sed -e 's|^src/[/]*|import |' -e 's|/|.|g' -e 's/.agda//' -e '/import Everything/d' -e 's/..md//' | LC_COLLATE='C' sort >> Everything.agda
open: open:
firefox public/index.html firefox public/index.html

View file

@ -1,3 +1,9 @@
<!--
```agda
{-# OPTIONS --guardedness #-}
```
-->
# Implementing Categorical Notions of Partiality and Delay in Agda # Implementing Categorical Notions of Partiality and Delay in Agda
To see a full list of all the modules go to: To see a full list of all the modules go to: