From a9d80074b3dd923e7749b521f9ecaf0a96c0d68c Mon Sep 17 00:00:00 2001
From: Malin Freeborn <malinfreeborn@tutamail.com>
Date: Sun, 20 Dec 2020 05:45:29 +0100
Subject: [PATCH] fix Makefile

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

diff --git a/Makefile b/Makefile
index 2e5906b0..7920bcd7 100644
--- a/Makefile
+++ b/Makefile
@@ -1,12 +1,11 @@
 filename=main
 branch := $(shell git rev-parse --abbrev-ref HEAD)
 output: svg-inkscape main.pdf 
-	makeindex main.idx
-	makeglossaries main
-	pdflatex ${filename}.tex
 svg-inkscape:
 	pdflatex -shell-escape ${filename}.tex
 main.pdf:
+	makeindex main.idx
+	makeglossaries main
 	pdflatex ${filename}.tex
 resources:
 	pdflatex CS/resources.tex
@@ -16,4 +15,4 @@ tree:
 	git subtree -P config pull ../config ${branch}
 	git subtree -P config push ../config ${branch}
 clean:
-	$(RM) *.aux *.toc *.acn *.log *.ptc *.out *.idx *.ist *.glo *.glg *.gls *.acr *.alg *.ilg *.ind *.pdf
+	rm -fr *.aux *.toc *.acn *.log *.ptc *.out *.idx *.ist *.glo *.glg *.gls *.acr *.alg *.ilg *.ind *.pdf svg-inkscape
-- 
GitLab