Sfoglia il codice sorgente

Clean output optimised

master
Dirk Alders 3 anni fa
parent
commit
abc146db9f
1 ha cambiato i file con 7 aggiunte e 3 eliminazioni
  1. 7
    3
      scripts/Makefile

+ 7
- 3
scripts/Makefile Vedi File

@@ -20,8 +20,12 @@ view: pdf clean
20 20
 	xdg-open $(TARGET).pdf
21 21
 
22 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 29
 cleanall: clean
27
-	rm $(TARGET).pdf
30
+	@echo "\e[1m  * Generated pdf-File...\e[0m"
31
+	@rm -vf $(TARGET).pdf

Loading…
Annulla
Salva