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

# User Rev Content
1 xsun 3174 LBIN =/usr/local/bin
2 xsun 3147 LC = latex
3     BC = bibtex
4     PDF = Preview
5 xsun 3174 D2PS = $(LBIN)/dvips
6     D2PDF = dvipdf
7     XDVI = $(LBIN)/xdvi
8     KDVI = kdvi
9 xsun 3147
10     .SUFFIXES: $(SUFFIXES) .dvi .ps .bib .tex .bbl .pdf
11    
12     PAPER_ROOT = mdripple
13    
14 xsun 3174 PICTURES = lipidMM.eps \
15     phaseCartoon.eps \
16     rP2.eps \
17     sP2.eps \
18     tP2.eps
19 xsun 3147
20     INFILES = \
21     mdripple.tex \
22     mdripple.bib
23    
24     #
25     # standard rules:
26     #
27    
28 xsun 3174 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 xsun 3147 all:: ${PAPER_ROOT}.view
46    
47 xsun 3174 dview:: ${PAPER_ROOT}.view
48    
49     ps:: ${PAPER_ROOT}.psview
50    
51     pdf:: ${PAPER_ROOT}.pdfview
52    
53 xsun 3147 ${PAPER_ROOT}.dvi: ${INFILES} ${PICTURES}
54 xsun 3174 $(LC) --src-specials ${PAPER_ROOT}
55 xsun 3147 $(BC) ${PAPER_ROOT}
56 xsun 3174 $(LC) --src-specials ${PAPER_ROOT}
57     $(LC) --src-specials ${PAPER_ROOT}
58 xsun 3147
59 xsun 3174 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 xsun 3147 ${PAPER_ROOT}.view: ${PAPER_ROOT}.dvi
74 xsun 3174 $(KDVI) ${PAPER_ROOT}
75 xsun 3147
76     clean::
77 xsun 3174 /bin/rm -f *.aux *.log *.bbl *.blg *.dvi *.tbx *.fgx *~ *.fff *.lof *.lot mdripple.ps mdripple.pdf *.ttt