fix build script (hopefully). better makefile

This commit is contained in:
Maximilian Keßler 2022-02-15 22:24:16 +01:00
parent ad23834556
commit f71b065f7d
3 changed files with 5 additions and 2 deletions

View File

@ -2,7 +2,7 @@ set -e
echo "Building document"
make pdf
mkdir public
mv 2021_Systemnahe_Programmierung.pdf public
mv 2021_Systemnahe_Programmierung.log public
mv build/2021_Systemnahe_Programmierung.pdf public
mv build/2021_Systemnahe_Programmierung.log public
cd public/
tree -H '.' -I "index.html" -D --charset utf-8 -T "Systemnahe Programmierung" > index.html

1
.gitignore vendored
View File

@ -48,4 +48,5 @@
sysprog.pdf
.init-submodule-cert
.init-git-hooks-cert
build/

View File

@ -6,6 +6,7 @@ clean:
clean-all:
latexmk -C
rm -rf build/
## Stuff to set up repository after cloning
@ -24,6 +25,7 @@ init: .init-submodule-cert .init-git-hooks-cert
@cp .ci/git-info-2.sh .git/hooks/post-checkout
@cp .ci/git-info-2.sh .git/hooks/post-commit
@.ci/git-info-2.sh
@touch .init-git-hooks-cert
.PHONY: pdf, clean, clean-all