ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/branches/mmeineke/oopsePaper/Makefile
Revision: 662
Committed: Fri Aug 1 20:22:36 2003 UTC (20 years, 11 months ago) by mmeineke
File size: 1003 byte(s)
Log Message:
The OOPSE paper

File Contents

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