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 |
15 |
|
16 |
|
17 |
|
18 |
|
19 |
AIX_PSVIEWER = ghostview |
20 |
Linux_PSVIEWER = ghostview |
21 |
SunOS_PSVIEWER = ghostview |
22 |
|
23 |
INFILES = canidacy_slides.tex |
24 |
PICTURES = |
25 |
|
26 |
|
27 |
# |
28 |
# A very cool hack to "do the right thing": |
29 |
PSVIEWER = ${$(OS)_PSVIEWER} |
30 |
# |
31 |
# |
32 |
# standard rules: |
33 |
# |
34 |
.dvi.ps: |
35 |
touch $*.ps |
36 |
/bin/rm $*.ps |
37 |
@echo "compiling $*" |
38 |
$(D2PS) -o $*.ps $< |
39 |
|
40 |
.dvi.pdf: |
41 |
touch $*.pdf |
42 |
/bin/rm $*.pdf |
43 |
@echo "compiling $*" |
44 |
$(D2PDF) $< $*.pdf |
45 |
|
46 |
all:: ${PAPER_ROOT}.psview |
47 |
|
48 |
outline:: ${OUTLINE}.view |
49 |
|
50 |
gs:: ${PAPER_ROOT}.psview |
51 |
|
52 |
print: ${PAPER_ROOT}.ps ${PAPER_ROOT}.pdf |
53 |
print_outline: ${OUTLINE}.ps |
54 |
lpr ${OUTLINE}.ps |
55 |
|
56 |
${PAPER_ROOT}.dvi: ${INFILES} ${PAPER_ROOT}.bib ${PICTURES} |
57 |
$(LC) ${PAPER_ROOT} |
58 |
# $(BC) ${PAPER_ROOT} |
59 |
# $(LC) ${PAPER_ROOT} |
60 |
# $(LC) ${PAPER_ROOT} |
61 |
|
62 |
${PAPER_ROOT}.psview: ${PAPER_ROOT}.ps |
63 |
${PSVIEWER} ${PAPER_ROOT}.ps |
64 |
|
65 |
${PAPER_ROOT}.view: ${PAPER_ROOT}.dvi |
66 |
$(XDVI) -fg black ${PAPER_ROOT} |
67 |
|
68 |
clean:: |
69 |
/bin/rm -f *.aux *.log *.bbl *.blg *.dvi *.tbx *.fgx *~ *.fff *.lof |
70 |
|
71 |
|