Makefile
771 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
29
30
31
32
33
34
35
36
37
BASE_NAME = LabSEI
LATEX = latex
PDFLATEX = pdflatex
BIBTEX = bibtex
MAKEINDEX = makeindex
SOURCES = $(BASE_NAME).tex installDoc/*.tex
all:
@make $(BASE_NAME).pdf
@make pdf
pdf: $(BASE_NAME).pdf
evince $(BASE_NAME).pdf &
ps: $(BASE_NAME).ps
$(BASE_NAME).pdf: $(BASE_NAME).tex $(SOURCES)
$(PDFLATEX) $(BASE_NAME).tex
#$(BIBTEX) $(BASE_NAME)
$(MAKEINDEX) $(BASE_NAME)
$(PDFLATEX) $<
$(PDFLATEX) $<
$(BASE_NAME).ps: $(BASE_NAME).tex
$(LATEX) $<
$(BIBTEX) $(BASE_NAME)
$(MAKEINDEX) $(BASE_NAME)
$(LATEX) $<
$(LATEX) $<
clean:
rm -f $(BASE_NAME)*.ps $(BASE_NAME)*.dvi *.log \
*.aux *.blg *.toc *.brf *.ilg *.ind \
missfont.log $(BASE_NAME)*.bbl $(BASE_NAME)*.pdf $(BASE_NAME)*.out \
$(BASE_NAME)*.lof $(BASE_NAME)*.lot *.swp