14 lines
369 B
Bash
14 lines
369 B
Bash
|
set -e
|
||
|
echo "Building document"
|
||
|
make pdf
|
||
|
mkdir public
|
||
|
mv build/2022_Kombinatorische_Spieltheorie.pdf public
|
||
|
mv build/2022_Kombinatorische_Spieltheorie.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 "Kombinatorische Spieltheorie" > index.html
|
||
|
fi
|