Commit 788b2de1 authored by Maxime Bombar's avatar Maxime Bombar
Browse files

Warning mode

parent 9e3a4362
......@@ -10,6 +10,14 @@ all: main.tex
rebuild: clean all
# Display how many warnings there are.
warnings: all
@echo "$(shell echo 'There are $$(( $$(cat main.log | grep -i warning | wc -l)-1 ))' warnings)"
# Display all warnings.
showwarnings: warnings
@echo "$(shell echo '$$(cat main.log | grep -i warning | tail +2)' )"
.PHONY: clean
latexmk -C
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment