type-theory/Makefile

27 lines
626 B
Makefile

GENDIR := html/src/generated
build-to-html:
find src \
-not \( -path src/Misc -prune \) \
\( -name "*.agda" -o -name "*.lagda.md" \) \
-print0 \
| rust-parallel -0 agda \
--html \
--html-dir=$(GENDIR) \
--allow-unsolved-metas \
--html-highlight=auto \
--no-load-primitives \
|| true
fd --no-ignore "html$$" $(GENDIR) -x rm
build-book: build-to-html
mdbook build html
refresh-book: build-to-html
mdbook serve html
deploy: build-book
rsync -azr html/book/ root@veil:/home/blogDeploy/public/research
.PHONY: build-book build-to-html deploy
# -not \( -path src/CubicalHott -prune \) \