Browse Source

Clean output optimised

master
Dirk Alders 3 years ago
parent
commit
abc146db9f
1 changed files with 7 additions and 3 deletions
  1. 7
    3
      scripts/Makefile

+ 7
- 3
scripts/Makefile View File

20
 	xdg-open $(TARGET).pdf
20
 	xdg-open $(TARGET).pdf
21
 
21
 
22
 clean:
22
 clean:
23
-	latexmk -c -f $(TARGET).tex
24
-	rm -f *~ *.tex
23
+	@echo "\033[1;33mCleaning up requirements...\033[00m"
24
+	@echo "\e[1m  * Generated latex files...\e[0m"
25
+	@latexmk -c -f $(TARGET).tex 1> /dev/null 2> /dev/null
26
+	@echo "\e[1m  * Generated TeX-File...\e[0m"
27
+	@rm -vf *.tex
25
 
28
 
26
 cleanall: clean
29
 cleanall: clean
27
-	rm $(TARGET).pdf
30
+	@echo "\e[1m  * Generated pdf-File...\e[0m"
31
+	@rm -vf $(TARGET).pdf

Loading…
Cancel
Save