1 |
LBIN =/usr/local/teTeX/bin |
2 |
LC = $(LBIN)/latex |
3 |
BC = $(LBIN)/bibtex |
4 |
D2PS = $(LBIN)/dvips |
5 |
D2PDF = $(LBIN)/dvipdf |
6 |
XDVI = $(LBIN)/xdvi |
7 |
|
8 |
.SUFFIXES: $(SUFFIXES) .dvi .ps .bib .tex .bbl .pdf |
9 |
|
10 |
PAPER_ROOT = canidacy_slides |
11 |
PICTURES = ssd.epsi 5x5-1.7ns.eps 5x5-initial.eps all5x5-HEAD-HEAD-cr.eps \ |
12 |
all5x5-HEAD-HEAD-gr.eps all5x5-HEAD-X-cr.eps all5x5-HEAD-X-gr.eps \ |
13 |
r50-521ps.eps r50-HEAD-HEAD-cr.eps r50-HEAD-HEAD-gr.eps \ |
14 |
r50-HEAD-X-cr.eps r50-HEAD-X-gr.eps r50-initial.eps ripple.epsi \ |
15 |
reduction.epsi |
16 |
|
17 |
|
18 |
|
19 |
|
20 |
AIX_PSVIEWER = ghostview |
21 |
Linux_PSVIEWER = ghostview |
22 |
SunOS_PSVIEWER = ghostview |
23 |
|
24 |
INFILES = canidacy_slides.tex |
25 |
|
26 |
# |
27 |
# A very cool hack to "do the right thing": |
28 |
PSVIEWER = ${$(OS)_PSVIEWER} |
29 |
# |
30 |
# |
31 |
# standard rules: |
32 |
# |
33 |
.dvi.ps: |
34 |
touch $*.ps |
35 |
/bin/rm $*.ps |
36 |
@echo "compiling $*" |
37 |
$(D2PS) -o $*.ps $< |
38 |
|
39 |
.dvi.pdf: |
40 |
touch $*.pdf |
41 |
/bin/rm $*.pdf |
42 |
@echo "compiling $*" |
43 |
$(D2PDF) $< $*.pdf |
44 |
|
45 |
all:: ${PAPER_ROOT}.psview |
46 |
|
47 |
outline:: ${OUTLINE}.view |
48 |
|
49 |
gs:: ${PAPER_ROOT}.psview |
50 |
|
51 |
print: ${PAPER_ROOT}.ps ${PAPER_ROOT}.pdf |
52 |
print_outline: ${OUTLINE}.ps |
53 |
lpr ${OUTLINE}.ps |
54 |
|
55 |
${PAPER_ROOT}.dvi: ${INFILES} ${PAPER_ROOT}.bib ${PICTURES} |
56 |
$(LC) ${PAPER_ROOT} |
57 |
$(BC) ${PAPER_ROOT} |
58 |
$(LC) ${PAPER_ROOT} |
59 |
$(LC) ${PAPER_ROOT} |
60 |
|
61 |
${PAPER_ROOT}.psview: ${PAPER_ROOT}.ps |
62 |
${PSVIEWER} ${PAPER_ROOT}.ps |
63 |
|
64 |
${PAPER_ROOT}.view: ${PAPER_ROOT}.dvi |
65 |
$(XDVI) -fg black ${PAPER_ROOT} |
66 |
|
67 |
clean:: |
68 |
/bin/rm -f *.aux *.log *.bbl *.blg *.dvi *.tbx *.fgx *~ *.fff *.lof |
69 |
|
70 |
|