-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
43 lines (32 loc) · 849 Bytes
/
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
DVIPS = dvips
LATEX = latex
PDFLATEX = pdflatex
BIBTEX = bibtex
PROJECT = Lenart-thesis-2011
EDITOR = emacs # nebo jiny oblibeny editor
GV = gv # nebo ghostview
all: $(PROJECT).pdf
edit:
$(EDITOR) $(PROJECT).tex &
ref: $(PROJECT).tex
$(PDFLATEX) $(PROJECT).tex
bibtex $(PROJECT)
$(PDFLATEX) $(PROJECT).tex
$(PDFLATEX) $(PROJECT).tex
bib:
$(BIBTEX) $(PROJECT)
gv: $(PROJECT).ps
$(GV) $< &
acr: $(PROJECT).pdf
acroread $< &
# PDFko lze vytvorit primo pomoci pdflatexu, ktery vklada obrazky ve formatu PDF
$(PROJECT).pdf: *.tex
$(PDFLATEX) $<
# nebo konverzi z postscriptu. Tato moznost zase akceptuje jen postscriptove obrazky.
#$(PROJECT).pdf: *.ps
# ps2pdf -s PAPERSIZE=a4 $<
# Odkomentujte/zakomentujte podle potreby.
$(PROJECT).ps: *.tex
$(LATEX) $<
clean:
rm -f *.log *.aux *.bbl *.blg *.lof *.lot *.dvi *.toc *.out *~ *.ps