0
|
1 TARGET = anatofuz-sigos
|
|
2
|
|
3 LATEX = platex
|
|
4 BIBTEX = pbibtex
|
|
5 #DVIPS = dvips
|
|
6 #DVIPDFM = dvipdfmx
|
|
7 RM = rm -f
|
|
8 DVIPDF=dvipdfmx -p a4
|
|
9 # Option definitions
|
|
10 #DVIPDFMOPT =
|
|
11 #DVIPSOPT = -D 720 -mode esphi -O 0mm,0mm -N0
|
|
12
|
|
13 # Suffixes definitions
|
7
|
14 .SUFFIXES: .md .tex .dvi .pdf
|
|
15
|
10
|
16 .PRECIOUS: %.tex
|
|
17
|
7
|
18 .md.tex:
|
10
|
19 perl md2tex.pl $< $@
|
0
|
20
|
|
21 .tex.dvi:
|
|
22 $(LATEX) $<
|
|
23 $(BIBTEX) $(TARGET)
|
|
24 $(LATEX) $<
|
|
25 $(LATEX) $<
|
|
26
|
|
27 .dvi.pdf:
|
|
28 $(DVIPDF) $(DVIPDF_OPT) $<
|
|
29
|
16
|
30 tex: $(TARGET).tex
|
0
|
31
|
|
32 all: $(TARGET).pdf
|
|
33 open $(TARGET).pdf
|
|
34
|
|
35 dvi: $(TARGET).dvi
|
|
36
|
|
37 pdf: $(TARGET).pdf
|
|
38
|
6
|
39 vi:
|
8
|
40 vim $(TARGET).md
|
6
|
41
|
0
|
42
|
|
43 clean:
|
14
|
44 rm -f *.dvi *.aux *.log *.ps *.gz *.bbl *.blg *~ *.core anatofuz-sigos.tex
|