-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
29 lines (21 loc) · 850 Bytes
/
Makefile
File metadata and controls
29 lines (21 loc) · 850 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
.PHONY: clean
default: clean build tinycount
clean:
rm -rf *.pdf *.lol *.aux *.lof *.log *.lot *.fls *.out *.toc *.fmt *.fot *.cb *.cb2 *.tex.bak
build:
pdflatex -shell-escape -draftmode ml_report.tex -halt-on-error
biber ml_report
pdflatex -shell-escape ml_report.tex -halt-on-error
watch:
make
while true; do \
inotifywait --event CLOSE_WRITE -q -r *.tex; \
make build; \
make servercount; \
done
tinycount:
scripts/texcount.pl -total `find . -name "*.tex" -not -name "Definitions.tex" -not -name "999_Appendix.tex"`
count:
scripts/texcount.pl `find . -name "*.tex" -not -name "Definitions.tex" -not -name "999_Appendix.tex"`
spellcheck:
find . -name "*.tex" -not -name "Definitions.tex" -exec aspell --per-conf=aspell.conf --lang=en-gb --home-dir=. --personal=dictionary.txt --mode=tex --dont-tex-check-comments -c "{}" \;