From 01728ae111071363bdc7d7fa02ef1db119a44351 Mon Sep 17 00:00:00 2001
From: Manuel Hachtkemper <manuel@hachtkemper.com>
Date: Wed, 19 Oct 2011 22:36:08 +0200
Subject: [PATCH] Makefile: all target for the entire build process
 (unfortunately you have to run make doc three times)

---
 Makefile | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/Makefile b/Makefile
index 8309572..e26a04d 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,8 @@
 DOCUMENT_NAME = Arbeit
 XELATEX = xelatex
 
+all: doc bib doc_twice
+
 default: 
 	@echo 'make bib    | Create bibliography, Arbeit.aux required. To create them ,run make doc.'
 	@echo 'make doc    | Create complete document. Read output and run make bib or make doc again if needed.'
@@ -12,5 +14,9 @@ bib:
 doc: 
 	$(XELATEX) $(DOCUMENT_NAME).tex
 
+doc_twice: 
+	$(XELATEX) $(DOCUMENT_NAME).tex
+	$(XELATEX) $(DOCUMENT_NAME).tex
+
 clean:
 	rm -f .log quit.tex *.acn *gdf *.glg *. glo *. gls *.ist *.lol *.nlo *.nls *.ps *.out *.dvi *.log *.aux *.blg *.toc *.log *.bbl *.lof *.lot *.idx *.brf *.ilg *.ind sections/*.aux images/*.aux
-- 
GitLab