ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/mdRipple/Makefile
(Generate patch)

Comparing trunk/mdRipple/Makefile (file contents):
Revision 3173 by xsun, Mon Jun 25 21:16:17 2007 UTC vs.
Revision 3174 by xsun, Fri Jul 13 22:01:52 2007 UTC

# Line 1 | Line 1
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   = \
14 > PICTURES   = lipidMM.eps \
15 >             phaseCartoon.eps \
16 >             rP2.eps \
17 >             sP2.eps \
18 >             tP2.eps
19  
20   INFILES    = \
21          mdripple.tex \
# Line 16 | Line 25 | all:: ${PAPER_ROOT}.view
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) ${PAPER_ROOT}
54 >        $(LC) --src-specials ${PAPER_ROOT}
55          $(BC) ${PAPER_ROOT}
56 <        $(LC) ${PAPER_ROOT}
57 <        $(LC) ${PAPER_ROOT}
56 >        $(LC) --src-specials ${PAPER_ROOT}
57 >        $(LC) --src-specials ${PAPER_ROOT}
58  
59 < ${PAPER_ROOT}.view: ${PAPER_ROOT}.dvi
60 <        dvipdf ${PAPER_ROOT}
29 <        osascript "reload_preview.scpt" ${PAPER_ROOT}.pdf      
30 <        open -a $(PDF) ${PAPER_ROOT}.pdf
59 > current.psview: current.ps
60 >        ${PSVIEWER} current.ps
61  
62 < clean::
63 <        /bin/rm -f *.aux *.log *.bbl *.blg *.dvi *.tbx *.fgx *~ *.fff *.lof *.lot mdripple.pdf *.ttt
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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines