ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/oopsePaper/Makefile
Revision: 714
Committed: Sun Aug 24 02:36:10 2003 UTC (20 years, 11 months ago) by mmeineke
File size: 1294 byte(s)
Log Message:
overhauled the makefile to build oopse.tex from the infiles rather than mess with includes.
Also renamed header and footer to preamble and bibEnd respectively.
make current has been replaced with currMake to tke a look at a single tex section.

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 # list section files in order of inclusion
14 INFILES = preamble.tex \
15 titleAbstract.tex \
16 DUFF.tex \
17 analysis.tex \
18 acknowledgements.tex \
19 bibEnd.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) -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 current:: current.psview
43
44 outline:: ${OUTLINE}.view
45
46 gs:: ${PAPER_ROOT}.psview
47
48 print: ${PAPER_ROOT}.ps ${PAPER_ROOT}.pdf
49
50 ${PAPER_ROOT}.dvi: ${INFILES} ${PAPER_ROOT}.bib ${PICTURES}
51 /bin/rm -rf ${PAPER_ROOT}.tex
52 for i in ${INFILES}; \
53 do cat $$i >> ${PAPER_ROOT}; \
54 done;
55 $(LC) ${PAPER_ROOT}
56 $(BC) ${PAPER_ROOT}
57 $(LC) ${PAPER_ROOT}
58 $(LC) ${PAPER_ROOT}
59
60 current.psview: current.ps
61 ${PSVIEWER} current.ps
62
63 ${PAPER_ROOT}.psview: ${PAPER_ROOT}.ps
64 ${PSVIEWER} ${PAPER_ROOT}.ps
65
66 ${PAPER_ROOT}.view: ${PAPER_ROOT}.dvi
67 $(XDVI) -fg black ${PAPER_ROOT}
68
69 clean::
70 /bin/rm -f *.aux *.log *.bbl *.blg *.dvi *.tbx *.fgx *~ *.fff *.lof
71
72