diff --git a/.ci/build_document.sh b/.ci/build_document.sh index dfb71ff..4fcb941 100755 --- a/.ci/build_document.sh +++ b/.ci/build_document.sh @@ -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 diff --git a/.gitignore b/.gitignore index aeb8d3e..4eaffc7 100644 --- a/.gitignore +++ b/.gitignore @@ -48,4 +48,5 @@ sysprog.pdf .init-submodule-cert +.init-git-hooks-cert build/ diff --git a/Makefile b/Makefile index 86d613c..ddfbd71 100644 --- a/Makefile +++ b/Makefile @@ -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