Updated build system.

This commit is contained in:
Bokuan Li
2026-01-05 20:11:28 -05:00
parent abbed78434
commit a807369ab0
12 changed files with 438 additions and 47 deletions

View File

@@ -1,6 +1,22 @@
rm -r ./document
# Make the bibliography. Errors here don't matter.
pdflatex -interaction=nonstopmode document.tex > /dev/null 2>&1
bibtex document > /dev/null 2>&1
pdflatex -interaction=nonstopmode document.tex > /dev/null 2>&1
# Website compilation procedure
python3 tagger.py >> tags
plastex --renderer=Gerby ./document.tex
cd ./gerby-website/gerby/tools
python3 update.py
cd ../../..
# Clean up the tex compilations.
rm document.aux > /dev/null 2>&1
rm document.bbl > /dev/null 2>&1
rm document.blg > /dev/null 2>&1
rm document.log > /dev/null 2>&1
rm document.out > /dev/null 2>&1
rm document.pdf > /dev/null 2>&1