mirror of
https://gitlab.com/mathezirkel/content/matboj-regelwerk
synced 2024-11-09 15:41:45 +01:00
14 lines
315 B
Bash
Executable file
14 lines
315 B
Bash
Executable file
set -e
|
|
echo "Building document"
|
|
make pdf
|
|
mkdir public
|
|
mv build/Matboj_Regelwerk.pdf public
|
|
mv build/Matboj_Regelwerk.log public
|
|
cd public/
|
|
if ! command -v tree &> /dev/null
|
|
then
|
|
echo "No tree utility found, skipping making tree"
|
|
else
|
|
tree -H '.' -I "index.html" -D --charset utf-8 -T "$course" > index.html
|
|
fi
|
|
|