ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/mdRipple/Makefile
Revision: 3351
Committed: Fri Feb 29 22:02:20 2008 UTC (16 years, 4 months ago) by gezelter
File size: 1495 byte(s)
Log Message:
final version?

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 = lipidModels.eps \
15 2lipidModel.eps \
16 phaseCartoon.eps \
17 topDown.eps \
18 rP2.eps \
19 sP2.eps \
20 tP2.eps \
21 phaseDiagram.eps
22
23 INFILES = \
24 mdripple.tex \
25 mdripple.bib
26
27 #
28 # standard rules:
29 #
30
31 PSVIEWER = kghostview
32 PDFVIEWER = kpdf
33
34 # ".dvi.ps" is the old-fashioned suffix rules = "%.ps: %.dvi"
35 #.dvi.ps:
36 %.ps: %.dvi
37 touch $*.ps
38 /bin/rm $*.ps
39 @echo "compiling $*"
40 $(D2PS) -o $*.ps $<
41
42 .dvi.pdf:
43 touch $*.pdf
44 /bin/rm $*.pdf
45 @echo "compiling $*"
46 $(D2PDF) $< $*.pdf
47
48 all:: ${PAPER_ROOT}.view
49
50 dview:: ${PAPER_ROOT}.view
51
52 ps:: ${PAPER_ROOT}.psview
53
54 pdf:: ${PAPER_ROOT}.pdfview
55
56 ${PAPER_ROOT}.dvi: ${INFILES} ${PICTURES}
57 $(LC) --src-specials ${PAPER_ROOT}
58 $(BC) ${PAPER_ROOT}
59 $(LC) --src-specials ${PAPER_ROOT}
60 $(LC) --src-specials ${PAPER_ROOT}
61
62 current.psview: current.ps
63 ${PSVIEWER} current.ps
64
65 ${PAPER_ROOT}.psview: ${PAPER_ROOT}.ps
66 ${PSVIEWER} ${PAPER_ROOT}.ps
67
68 ${PAPER_ROOT}.pdfview: ${PAPER_ROOT}.pdf
69 ${PDFVIEWER} ${PAPER_ROOT}.pdf
70
71 #${PAPER_ROOT}.view: ${PAPER_ROOT}.dvi
72 # $(XDVI) -fg black ${PAPER_ROOT}
73
74 print: ${PAPER_ROOT}.ps ${PAPER_ROOT}.pdf
75
76 ${PAPER_ROOT}.view: ${PAPER_ROOT}.dvi
77 $(XDVI) ${PAPER_ROOT}
78
79 clean::
80 /bin/rm -f *.aux *.log *.bbl *.blg *.dvi *.tbx *.fgx *~ *.fff *.lof *.lot mdripple.ps mdripple.pdf *.ttt