瀏覽代碼

Clean output optimised

master
Dirk Alders 3 年之前
父節點
當前提交
abc146db9f
共有 1 個文件被更改,包括 7 次插入3 次删除
  1. 7
    3
      scripts/Makefile

+ 7
- 3
scripts/Makefile 查看文件

@@ -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…
取消
儲存