-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
executable file
·54 lines (38 loc) · 1.05 KB
/
Makefile
File metadata and controls
executable file
·54 lines (38 loc) · 1.05 KB
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
SRC = Abstract.tex Conclusions.tex Future.tex Introduction.tex Overview.tex Problems.tex Crossplane.tex main.tex
bib = references.bib
dvi =
bbl = $(SRC:%.tex=%.bbl)
TARGET = main.pdf
NAME = $(TARGET:%.pdf=%)
LATEX = pdflatex
GLOSSARY = Glossary.gdf
.PHONY: view figs clean all
all: $(TARGET)
$(dvi): %.dvi: %.tex $(SRC:%.tex=%.bbl)
latex $< && latex $<
$(NAME).aux: %.aux: %.tex
@echo "Doing AUX"
$(LATEX) $<
$(NAME).glx: $(GLOSSARY) $(TARGET:%.pdf=%.aux)
glosstex $(NAME) $<
makeindex $(NAME).gxs -o $@ -s glosstex.ist
$(TARGET): %.pdf: %.tex figs $(NAME).aux $(NAME).bbl $(SRC)
$(LATEX) $<
$(LATEX) $<
#evince $@ &
view: $(TARGET)
evince $< &
gv: $(ps)
gv $<
$(SRC:%.tex=%.bbl): %.bbl: %.tex $(bib) $(TARGET:%.pdf=%.aux)
@echo "Doing bib"
$(LATEX) $<
bibtex $(NAME)
$(patsubst %.eps,%.pdf,$(wildcard *.eps)): %.pdf: %.eps
epstopdf --nocompress $<
pdf:
figs:
#cd images && $(MAKE) all
clean:
rm -f *~ $(NAME).dvi $(NAME).ps $(NAME).pdf $(NAME).aux $(NAME).toc $(NAME).log $(NAME).out *.bbl *.blg *.glx *.ilg
# cd figs && make clean