ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/mdRipple/Makefile
Revision: 3174
Committed: Fri Jul 13 22:01:52 2007 UTC (16 years, 11 months ago) by xsun
File size: 1422 byte(s)
Log Message:
adding the image files and write the introduction section in tex file

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 = mdripple
13
14 PICTURES = lipidMM.eps \
15 phaseCartoon.eps \
16 rP2.eps \
17 sP2.eps \
18 tP2.eps
19
20 INFILES = \
21 mdripple.tex \
22 mdripple.bib
23
24 #
25 # standard rules:
26 #
27
28 PSVIEWER = kghostview
29 PDFVIEWER = kpdf
30
31 # ".dvi.ps" is the old-fashioned suffix rules = "%.ps: %.dvi"
32 #.dvi.ps:
33 %.ps: %.dvi
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}.view
46
47 dview:: ${PAPER_ROOT}.view
48
49 ps:: ${PAPER_ROOT}.psview
50
51 pdf:: ${PAPER_ROOT}.pdfview
52
53 ${PAPER_ROOT}.dvi: ${INFILES} ${PICTURES}
54 $(LC) --src-specials ${PAPER_ROOT}
55 $(BC) ${PAPER_ROOT}
56 $(LC) --src-specials ${PAPER_ROOT}
57 $(LC) --src-specials ${PAPER_ROOT}
58
59 current.psview: current.ps
60 ${PSVIEWER} current.ps
61
62 ${PAPER_ROOT}.psview: ${PAPER_ROOT}.ps
63 ${PSVIEWER} ${PAPER_ROOT}.ps
64
65 ${PAPER_ROOT}.pdfview: ${PAPER_ROOT}.pdf
66 ${PDFVIEWER} ${PAPER_ROOT}.pdf
67
68 #${PAPER_ROOT}.view: ${PAPER_ROOT}.dvi
69 # $(XDVI) -fg black ${PAPER_ROOT}
70
71 print: ${PAPER_ROOT}.ps ${PAPER_ROOT}.pdf
72
73 ${PAPER_ROOT}.view: ${PAPER_ROOT}.dvi
74 $(KDVI) ${PAPER_ROOT}
75
76 clean::
77 /bin/rm -f *.aux *.log *.bbl *.blg *.dvi *.tbx *.fgx *~ *.fff *.lof *.lot mdripple.ps mdripple.pdf *.ttt