type-theory/Makefile
2024-05-17 13:50:46 -05:00

16 lines
No EOL
427 B
Makefile

GENDIR := html/src/generated
build-to-html:
find src/HottBook \( -name "*.agda" -o -name "*.lagda.md" \) -print0 \
| rust-parallel -0 agda \
--html \
--html-dir=$(GENDIR) \
--allow-unsolved-metas \
--html-highlight=auto \
|| true
fd --no-ignore "html$$" $(GENDIR) -x rm
deploy: build-to-html
mdbook build html
rsync -azrP html/book/ root@veil:/home/blogDeploy/public/hott-book
.PHONY: build-to-html deploy