ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/matt_papers/lipidPaper/Makefile
Revision: 226
Committed: Thu Jan 9 16:45:32 2003 UTC (21 years, 6 months ago) by mmeineke
Original Path: branches/mmeineke/matt_papers/lipidPaper/Makefile
File size: 1158 byte(s)
Log Message:
the 1st paper based on our lipidModel

File Contents

# User Rev Content
1 mmeineke 226 LBIN =/usr/local/teTeX/bin
2     #LBIN =/usr/bin
3     LC = $(LBIN)/latex
4     BC = $(LBIN)/bibtex
5     D2PS = $(LBIN)/dvips
6     D2PDF = $(LBIN)/dvipdf
7     XDVI = $(LBIN)/xdvi
8    
9     .SUFFIXES: $(SUFFIXES) .dvi .ps .bib .tex .bbl .pdf
10    
11     PAPER_ROOT = lipidPaper
12     PICTURES =
13    
14    
15     AIX_PSVIEWER = ghostview
16     Linux_PSVIEWER = ghostview
17     SunOS_PSVIEWER = ghostview
18    
19     INFILES = lipidPaper.tex
20    
21     #
22     # A very cool hack to "do the right thing":
23     PSVIEWER = ghostview
24     #
25     #
26     # standard rules:
27     #
28     .dvi.ps:
29     touch $*.ps
30     /bin/rm $*.ps
31     @echo "compiling $*"
32     $(D2PS) -D 600 -o $*.ps $<
33    
34     .dvi.pdf:
35     touch $*.pdf
36     /bin/rm $*.pdf
37     @echo "compiling $*"
38     $(D2PDF) $< $*.pdf
39    
40     all:: ${PAPER_ROOT}.psview
41    
42     outline:: ${OUTLINE}.view
43    
44     gs:: ${PAPER_ROOT}.psview
45    
46     print: ${PAPER_ROOT}.ps ${PAPER_ROOT}.pdf
47     print_outline: ${OUTLINE}.ps
48     lpr ${OUTLINE}.ps
49    
50     ${PAPER_ROOT}.dvi: ${INFILES} ${PAPER_ROOT}.bib ${PICTURES}
51     $(LC) ${PAPER_ROOT}
52     $(BC) ${PAPER_ROOT}
53     $(LC) ${PAPER_ROOT}
54     $(LC) ${PAPER_ROOT}
55    
56     ${PAPER_ROOT}.psview: ${PAPER_ROOT}.ps
57     ${PSVIEWER} ${PAPER_ROOT}.ps
58    
59     ${PAPER_ROOT}.view: ${PAPER_ROOT}.dvi
60     $(XDVI) -fg black ${PAPER_ROOT}
61    
62     clean::
63     /bin/rm -f *.aux *.log *.bbl *.blg *.dvi *.tbx *.fgx *~ *.fff *.lof
64    
65