aboutsummaryrefslogtreecommitdiff
path: root/zeitung/run
diff options
context:
space:
mode:
authorMarvin Borner2021-01-25 23:17:19 +0100
committerMarvin Borner2021-01-25 23:17:19 +0100
commit9fac4d9823f3350c22b156450cba6cc456ed960f (patch)
tree70ce3afb3766468096f779e3df95d6c6f3dde536 /zeitung/run
parent648762d7a32b27fb43f6931aa93fc4022358ad1b (diff)
Some minor changes
Diffstat (limited to 'zeitung/run')
-rwxr-xr-xzeitung/run4
1 files changed, 4 insertions, 0 deletions
diff --git a/zeitung/run b/zeitung/run
index 3e0098b..ceb28ad 100755
--- a/zeitung/run
+++ b/zeitung/run
@@ -1,5 +1,9 @@
#!/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