1 |
xsun |
3300 |
LBIN =/usr/local/bin |
2 |
gezelter |
3302 |
LC = pdflatex |
3 |
gezelter |
3000 |
BC = bibtex |
4 |
|
|
PDF = Preview |
5 |
xsun |
3300 |
D2PS = $(LBIN)/dvips |
6 |
|
|
D2PDF = dvipdf |
7 |
|
|
XDVI = $(LBIN)/xdvi |
8 |
|
|
KDVI = kdvi |
9 |
gezelter |
3000 |
|
10 |
|
|
.SUFFIXES: $(SUFFIXES) .dvi .ps .bib .tex .bbl .pdf |
11 |
|
|
|
12 |
|
|
PAPER_ROOT = langevin |
13 |
|
|
|
14 |
|
|
PICTURES = \ |
15 |
gezelter |
3308 |
RoughShell.pdf \ |
16 |
|
|
sketch.pdf \ |
17 |
|
|
explanation.pdf |
18 |
gezelter |
3000 |
|
19 |
|
|
INFILES = \ |
20 |
|
|
langevin.tex \ |
21 |
|
|
langevin.bib |
22 |
|
|
|
23 |
|
|
# |
24 |
|
|
# standard rules: |
25 |
|
|
# |
26 |
|
|
|
27 |
xsun |
3300 |
PSVIEWER = gv |
28 |
|
|
PDFVIEWER = kpdf |
29 |
|
|
|
30 |
|
|
# ".dvi.ps" is the old-fashioned suffix rules = "%.ps: %.dvi" |
31 |
|
|
#.dvi.ps: |
32 |
|
|
%.ps: %.dvi |
33 |
|
|
touch $*.ps |
34 |
|
|
/bin/rm $*.ps |
35 |
|
|
@echo "compiling $*" |
36 |
|
|
$(D2PS) -o $*.ps $< |
37 |
|
|
|
38 |
|
|
.dvi.pdf: |
39 |
|
|
touch $*.pdf |
40 |
|
|
/bin/rm $*.pdf |
41 |
|
|
@echo "compiling $*" |
42 |
|
|
$(D2PDF) $< $*.pdf |
43 |
|
|
|
44 |
gezelter |
3000 |
all:: ${PAPER_ROOT}.view |
45 |
|
|
|
46 |
xsun |
3300 |
dview:: ${PAPER_ROOT}.view |
47 |
|
|
|
48 |
|
|
gs:: ${PAPER_ROOT}.psview |
49 |
|
|
|
50 |
|
|
pdf:: ${PAPER_ROOT}.pdfview |
51 |
|
|
|
52 |
|
|
${PAPER_ROOT}.dvi: ${INFILES} ${PICTURES} |
53 |
|
|
$(LC) --src-specials ${PAPER_ROOT} |
54 |
gezelter |
3000 |
$(BC) ${PAPER_ROOT} |
55 |
xsun |
3300 |
$(LC) --src-specials ${PAPER_ROOT} |
56 |
|
|
$(LC) --src-specials ${PAPER_ROOT} |
57 |
gezelter |
3000 |
|
58 |
xsun |
3300 |
current.psview: current.ps |
59 |
|
|
${PSVIEWER} current.ps |
60 |
gezelter |
3000 |
|
61 |
xsun |
3300 |
${PAPER_ROOT}.psview: ${PAPER_ROOT}.ps |
62 |
|
|
${PSVIEWER} ${PAPER_ROOT}.ps |
63 |
gezelter |
3000 |
|
64 |
xsun |
3300 |
${PAPER_ROOT}.pdfview: ${PAPER_ROOT}.pdf |
65 |
|
|
${PDFVIEWER} ${PAPER_ROOT}.pdf |
66 |
gezelter |
3000 |
|
67 |
xsun |
3300 |
#${PAPER_ROOT}.view: ${PAPER_ROOT}.dvi |
68 |
|
|
# $(XDVI) -fg black ${PAPER_ROOT} |
69 |
|
|
|
70 |
|
|
print: ${PAPER_ROOT}.ps ${PAPER_ROOT}.pdf |
71 |
|
|
|
72 |
|
|
${PAPER_ROOT}.view: ${PAPER_ROOT}.dvi |
73 |
|
|
$(KDVI) ${PAPER_ROOT} |
74 |
|
|
|
75 |
|
|
clean:: |
76 |
|
|
/bin/rm -f *.aux *.log *.bbl *.blg *.dvi *.tbx *.fgx *~ *.fff *.lof *.lot mdripple.ps mdripple.pdf *.ttt |