diff --git a/.gitignore b/.gitignore index cde1221d2e8685be5785e8d842d0adeff0e38614..622d95c05d0fee1a16186c95e9ddbd195e748394 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,9 @@ # Ignore compiled thesis thesis.pdf +# Ignore zipped archive +thesis.zip + # Created by https://www.gitignore.io/api/linux,latex # Edit at https://www.gitignore.io/?templates=linux,latex diff --git a/Makefile b/Makefile index bf0c82ce7db3ebc408b6afe8d4d5c143406f16de..968af51bed6d9b0ffc34be6a58d9b4eebf9f3a19 100644 --- a/Makefile +++ b/Makefile @@ -1,12 +1,22 @@ +.PHONY: install install: latexmk -pdf thesis.tex latexmk -c thesis.tex +.PHONY: watch watch: latexmk -pvc thesis.tex +.PHONY: clean clean: latexmk -C thesis.tex +.PHONY: zip +zip: + zip -r thesis . + # Make sure .git is not part of distribution + zip -d thesis.zip .git/\* + +.PHONY: bibtool bibtool: bibtool -R -r keep_bibtex -r field -r improve -r month -s references.bib -o references.bib diff --git a/README.md b/README.md index 0eef996acf5ae7a658c1df052fd65d5a7d0e9a18..da1662051c07a53e21401dece692b0211ad2b87b 100644 --- a/README.md +++ b/README.md @@ -46,6 +46,9 @@ make bibtool # Baut die PDF aus den Sources stetig neu, updated die Anzeige in Ihrem PDF-Betrachter make watch + +# Verpackt die Dateien im Verzeichnis in thesis.zip +make zip ``` Das Makefile nutzt hierbei `latexmk`,