aboutsummaryrefslogtreecommitdiff
path: root/zeitung/run
blob: 303a28067d1eae259b2a43bbc4e7e4f89917c081 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#!/usr/bin/env sh

if [ "$1" = "clean" ]; then
    rm -rf build/
fi

mkdir -p build/ &&
    latexmk -shell-escape -output-directory=build/ -xelatex &&
    zathura build/main.pdf &&
    (scp build/main.pdf server:/home/melvin/Abizeugs/zeitung.pdf &>/dev/null)