ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/langevin/Makefile
Revision: 3300
Committed: Mon Jan 7 23:10:05 2008 UTC (17 years, 7 months ago) by xsun
File size: 1407 byte(s)
Log Message:
add sketch files in

File Contents

# Content
1 LBIN =/usr/local/bin
2 LC = latex
3 BC = bibtex
4 PDF = Preview
5 D2PS = $(LBIN)/dvips
6 D2PDF = dvipdf
7 XDVI = $(LBIN)/xdvi
8 KDVI = kdvi
9
10 .SUFFIXES: $(SUFFIXES) .dvi .ps .bib .tex .bbl .pdf
11
12 PAPER_ROOT = langevin
13
14 PICTURES = \
15 roughShell.eps \
16 temperature.eps \
17 twoBanana.eps \
18 uacf.eps \
19 vacf.eps
20
21 INFILES = \
22 langevin.tex \
23 langevin.bib
24
25 #
26 # standard rules:
27 #
28
29 PSVIEWER = gv
30 PDFVIEWER = kpdf
31
32 # ".dvi.ps" is the old-fashioned suffix rules = "%.ps: %.dvi"
33 #.dvi.ps:
34 %.ps: %.dvi
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}.view
47
48 dview:: ${PAPER_ROOT}.view
49
50 gs:: ${PAPER_ROOT}.psview
51
52 pdf:: ${PAPER_ROOT}.pdfview
53
54 ${PAPER_ROOT}.dvi: ${INFILES} ${PICTURES}
55 $(LC) --src-specials ${PAPER_ROOT}
56 $(BC) ${PAPER_ROOT}
57 $(LC) --src-specials ${PAPER_ROOT}
58 $(LC) --src-specials ${PAPER_ROOT}
59
60 current.psview: current.ps
61 ${PSVIEWER} current.ps
62
63 ${PAPER_ROOT}.psview: ${PAPER_ROOT}.ps
64 ${PSVIEWER} ${PAPER_ROOT}.ps
65
66 ${PAPER_ROOT}.pdfview: ${PAPER_ROOT}.pdf
67 ${PDFVIEWER} ${PAPER_ROOT}.pdf
68
69 #${PAPER_ROOT}.view: ${PAPER_ROOT}.dvi
70 # $(XDVI) -fg black ${PAPER_ROOT}
71
72 print: ${PAPER_ROOT}.ps ${PAPER_ROOT}.pdf
73
74 ${PAPER_ROOT}.view: ${PAPER_ROOT}.dvi
75 $(KDVI) ${PAPER_ROOT}
76
77 clean::
78 /bin/rm -f *.aux *.log *.bbl *.blg *.dvi *.tbx *.fgx *~ *.fff *.lof *.lot mdripple.ps mdripple.pdf *.ttt