lecture-notes/.ci/build_document.sh
2022-02-15 23:46:02 +01:00

8 lines
198 B
Bash
Executable file

set -e
echo "Building document"
make pdf
mkdir public
mv build/$mainfile.pdf public
mv build/$mainfile.log public
cd public/
tree -H '.' -I "index.html" -D --charset utf-8 -T "$course" > index.html