-
Notifications
You must be signed in to change notification settings - Fork 7
/
Makefile
executable file
·59 lines (55 loc) · 1.77 KB
/
Makefile
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
PROJECT=principal
TEX=pdflatex
BIBTEX=bibtex
INDEX=makeindex
BUILDTEX=$(TEX) $(PROJECT).tex
all: build clean
build:
$(BUILDTEX)
$(BIBTEX) $(PROJECT)
$(BUILDTEX)
$(INDEX) $(PROJECT).idx
$(INDEX) $(PROJECT).nlo -s nomencl.ist -o $(PROJECT).nls
$(BUILDTEX)
$(BUILDTEX) -interaction nonstopmode -file-line-error
clean:
find . -name \*.acn -type f -delete
find . -name \*.acr -type f -delete
find . -name \*.alg -type f -delete
find . -name \*.aux -type f -delete
find . -name \*.bcf -type f -delete
find . -name \*.blg -type f -delete
find . -name \*.dvi -type f -delete
find . -name \*.ps -type f -delete
find . -name \*.fdb_latexmk -type f -delete
find . -name \*.fls -type f -delete
find . -name \*.glg -type f -delete
find . -name \*.glo -type f -delete
find . -name \*.gls -type f -delete
find . -name \*.idx -type f -delete
find . -name \*.ilg -type f -delete
find . -name \*.ind -type f -delete
find . -name \*.loa -type f -delete
find . -name \*.lol -type f -delete
find . -name \*.lof -type f -delete
find . -name \*.log -type f -delete
find . -name \*.lot -type f -delete
find . -name \*.maf -type f -delete
find . -name \*.mtc -type f -delete
find . -name \*.mtc0 -type f -delete
find . -name \*.nav -type f -delete
find . -name \*.nlo -type f -delete
find . -name \*.out -type f -delete
find . -name \*.pdfsync -type f -delete
find . -name \*.run.xml -type f -delete
find . -name \*.snm -type f -delete
find . -name \*.synctex.gz -type f -delete
find . -name \*.toc -type f -delete
find . -name \*.vrb -type f -delete
find . -name \*.xdy -type f -delete
find . -name \*.tdo -type f -delete
find . -name \*.bbl -type f -delete
find . -name \*bbl.bib -type f -delete
find . -name \*.brf -type f -delete
find . -name \*.nls -type f -delete
.PHONY: build clean