From 97fa17751e5b5a7ea5171741f8e9f497030a5889 Mon Sep 17 00:00:00 2001
From: Jan Wille <jan.wille@stud.hs-hannover.de>
Date: Sun, 18 Oct 2020 22:24:06 +0200
Subject: [PATCH] =?UTF-8?q?option=20f=C3=BCr=20input-dir=20gefunden?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 4b47d26..97c0482 100644
--- a/Makefile
+++ b/Makefile
@@ -10,12 +10,14 @@ export TEXINPUTS:=.\src
 
 
 pdf: $(NAME).tex
-	$(PDF) -synctex=1 -interaction=nonstopmode -file-line-error --output-directory=$(OUTDIR) $(NAME).tex
+	$(PDF) -synctex=1 -interaction=nonstopmode -file-line-error -include-directory=.\src -output-directory=$(OUTDIR) $(NAME).tex
+	move $(OUTDIR)\$(NAME).pdf .\
 
 
 clean: tidy
 	if exist $(OUTDIR)\$(NAME).pdf del $(OUTDIR)\$(NAME).pdf
 	if exist $(OUTDIR) rmdir $(OUTDIR)
+	if exist $(NAME).pdf del $(NAME).pdf
 
 tidy:
 	if exist $(OUTDIR)\$(NAME).aux del $(OUTDIR)\$(NAME).aux
-- 
GitLab