ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/matt_papers/canidacy_paper/Makefile
Revision: 111
Committed: Wed Sep 18 15:53:30 2002 UTC (21 years, 9 months ago) by mmeineke
File size: 1221 byte(s)
Log Message:
the final copy went out this morning. YAYYYYYYYYY!!!!!!!!!!!!!!!

File Contents

# User Rev Content
1 mmeineke 102 LBIN =/usr/local/teTeX/bin
2     #LBIN =/usr/bin
3 mmeineke 93 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 = canidacy_paper
12 mmeineke 102 PICTURES = ssd.epsi lipidModel.epsi 5x5-initial.eps 5x5-3.6ns.epsi
13 mmeineke 93
14    
15     AIX_PSVIEWER = ghostview
16     Linux_PSVIEWER = ghostview
17     SunOS_PSVIEWER = ghostview
18    
19     INFILES = canidacy_paper.tex
20    
21     #
22     # A very cool hack to "do the right thing":
23 mmeineke 101 PSVIEWER = ghostview
24 mmeineke 93 #
25     #
26     # standard rules:
27     #
28     .dvi.ps:
29     touch $*.ps
30     /bin/rm $*.ps
31     @echo "compiling $*"
32 mmeineke 111 $(D2PS) -D 600 -o $*.ps $<
33 mmeineke 93
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