From 1a9cece72475dd1340d781a7e9d8ecf41a58f5aa Mon Sep 17 00:00:00 2001 From: Jannik Dunkelau <jannik.dunkelau@hhu.de> Date: Thu, 16 Sep 2021 11:00:25 +0200 Subject: [PATCH] Modify Makefile to properly clean and zip --- .gitignore | 1 + Makefile | 16 ++++++++++++---- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 67fa567..269b3df 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ # Project specific presentation.pdf +beamer-template.zip # Created by https://www.gitignore.io/api/visualstudiocode,linux,latex # Edit at https://www.gitignore.io/?templates=visualstudiocode,linux,latex diff --git a/Makefile b/Makefile index 379fdd9..1dc5999 100644 --- a/Makefile +++ b/Makefile @@ -1,15 +1,23 @@ +.PHONY: install install: - latexmk -pdf paper.tex - latexmk -c paper.tex + latexmk -pdf presentation.tex + latexmk -c presentation.tex +.PHONY: watch watch: - latexmk -pvc paper.tex + latexmk -pvc presentation.tex +.PHONY: clean clean: - latexmk -C paper.tex + latexmk -C presentation.tex + rm *.snm + rm *.nav + rm *.bbl +.PHONY: bibtool bibtool: bibtool -R -r keep_bibtex -r field -r improve -r sort_fld -s references.bib -o references.bib +.PHONY: zip zip: zip beamer-template -x *.git* -r . -- GitLab