0
|
1 DOC = finalutf8
|
|
2
|
|
3 LATEX = platex
|
|
4 DVIPS = dvips
|
|
5 DVIPDFM = dvipdfmx
|
|
6 RM = rm
|
|
7
|
|
8 # Option definitions
|
|
9 DVIPDFMOPT =
|
|
10 DVIPSOPT =
|
|
11
|
|
12 # Suffixes definitions
|
|
13 .SUFFIXES: .tex .dvi .ps .pdf
|
|
14
|
|
15 # Recipes
|
|
16 .tex.dvi:
|
|
17 $(LATEX) $<
|
|
18 $(LATEX) $<
|
|
19
|
|
20 .dvi.pdf:
|
|
21 $(DVIPDFM) -o $@ $<
|
|
22
|
|
23 .dvi.ps:
|
|
24 $(DVIPS) $(DVIPSOPT) -o $@ $<
|
|
25
|
|
26
|
|
27 all: $(DOC).pdf# $(DOC).ps
|
|
28 open $(DOC).pdf
|
|
29
|
|
30 dvi: $(DOC).dvi
|
|
31
|
|
32 pdf: $(DOC).pdf
|
|
33
|
|
34 ps: $(DOC).ps
|
|
35
|
|
36 clean:
|
|
37 $(RM) -f *.dvi *.aux *.log *.pdf *.ps *.gz *~ *.core |