-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
executable file
·59 lines (52 loc) · 1.1 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
TEXSRC=diploma
# TeX
# --------------------------------------
TEXC=xelatex
IDXC=makeindex
BIBC=bibtex
# Clean
# --------------------------------------
DEL=rm -f
# Vector graphics
# --------------------------------------
VGC=dot
VGNAME=net-model
VGSRCEXT=dot
VGCDSTEXT=eps
VGFLAGS=-T$(VGCDSTEXT) -o
VGDIR=./vec
VGSRC=$(VGDIR)/$(VGNAME).$(VGSRCEXT)
VGDST=$(VGDIR)/$(VGNAME).$(VGCDSTEXT)
# Exec
# ======================================================================
# TeX
# --------------------------------------------------
all: biblio one
$(TEXC) $(TEXSRC)
pdf: biblio one
$(TEXC) $(TEXSRC)
index: one
$(IDXC) $(TEXSRC)
biblio: one
$(BIBC) $(TEXSRC)
one: vg
$(TEXC) $(TEXSRC)
# Vector graphics
# --------------------------------------------------
vg:
$(VGC) $(VGSRC) $(VGFLAGS) $(VGDST)
# Clean
# --------------------------------------------------
cleanall: clean
$(DEL) $(TEXSRC).pdf
clean:
$(DEL) $(TEXSRC).aux
$(DEL) $(TEXSRC).bbl
$(DEL) $(TEXSRC).brf
$(DEL) $(TEXSRC).blg
$(DEL) $(TEXSRC).idx
$(DEL) $(TEXSRC).ilg
$(DEL) $(TEXSRC).ind
$(DEL) $(TEXSRC).log
$(DEL) $(TEXSRC).out
$(DEL) $(TEXSRC).toc