diff --git a/latex/Makefile b/latex/Makefile index bb28025..c62ae38 100644 --- a/latex/Makefile +++ b/latex/Makefile @@ -10,7 +10,7 @@ CFLAGS = -pdf -shell-escape -halt-on-error TARGETS = $(BUILDDIR)/thesis.pdf -all: precomp $(TARGETS) postcomp +all: clean precomp $(TARGETS) postcomp precomp: @mkdir -p $(TEMPDIR) @@ -23,10 +23,8 @@ postcomp: $(BUILDDIR)/thesis.pdf: $(TEMPDIR)/thesis.tex $(CC) $(CFLAGS) -output-directory=../$(BUILDDIR) -cd $< -f: clean all - clean: - rm -r $(BUILDDIR) + rm -rf $(BUILDDIR) $(TEMPDIR) show: okular $(TARGETS) & diff --git a/latex/README.md b/latex/README.md index 04a274c..61e20ec 100644 --- a/latex/README.md +++ b/latex/README.md @@ -4,23 +4,18 @@ #### Kompilieren -Durch ausführen des Befehls ```bash $ make ``` -wird ein neuer `build` ordner erstellt, in welchem das kompilierte Dokument, + +Es wird ein neuer `build` ordner erstellt, in welchem das kompilierte Dokument, `thesis.pdf` zu finden ist. -Wenn der `build` ordner bereits existiert, kann -```bash -$ make f -``` -genutzt werden, um eine neu-Kompilierung zu erzwingen. #### Auto-Formatierung -Die Auto-Formatierung scheint aus Gründen manchmal noch nicht richtig zu funktionieren - ```bash $ latexindent -w -s -l -m [filename] -c build ``` + +Die Auto-Formatierung scheint aus Gründen manchmal noch nicht richtig zu funktionieren.