ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/oopsePaper/Makefile
Revision: 664
Committed: Mon Aug 4 21:52:29 2003 UTC (20 years, 11 months ago) by mmeineke
File size: 1232 byte(s)
Log Message:
added a current.tex to allow for looking at your current work, just change the include to the current tex file

also seperated all header info into header.tex so that oopse.tex and current.tex will behave the same.

File Contents

# User Rev Content
1 mmeineke 662 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 mmeineke 664 header.tex \
15     analysis.tex \
16     DUFF.tex
17 mmeineke 662
18     #
19     # A very cool hack to "do the right thing":
20     PSVIEWER = ghostview
21     #
22     #
23     # standard rules:
24     #
25     .dvi.ps:
26     touch $*.ps
27     /bin/rm $*.ps
28     @echo "compiling $*"
29     $(D2PS) -o $*.ps $<
30    
31     .dvi.pdf:
32     touch $*.pdf
33     /bin/rm $*.pdf
34     @echo "compiling $*"
35     $(D2PDF) $< $*.pdf
36    
37     all:: ${PAPER_ROOT}.psview
38    
39 mmeineke 664 current:: current.psview
40    
41 mmeineke 662 outline:: ${OUTLINE}.view
42    
43     gs:: ${PAPER_ROOT}.psview
44    
45     print: ${PAPER_ROOT}.ps ${PAPER_ROOT}.pdf
46    
47 mmeineke 664 current.dvi: ${INFILES} ${PAPER_ROOT}.bib ${PICTURES}
48     $(LC) current
49     $(BC) current
50     $(LC) current
51     $(LC) current
52    
53 mmeineke 662 ${PAPER_ROOT}.dvi: ${INFILES} ${PAPER_ROOT}.bib ${PICTURES}
54     $(LC) ${PAPER_ROOT}
55     $(BC) ${PAPER_ROOT}
56     $(LC) ${PAPER_ROOT}
57     $(LC) ${PAPER_ROOT}
58    
59 mmeineke 664 current.psview: current.ps
60     ${PSVIEWER} current.ps
61    
62 mmeineke 662 ${PAPER_ROOT}.psview: ${PAPER_ROOT}.ps
63     ${PSVIEWER} ${PAPER_ROOT}.ps
64    
65     ${PAPER_ROOT}.view: ${PAPER_ROOT}.dvi
66     $(XDVI) -fg black ${PAPER_ROOT}
67    
68     clean::
69     /bin/rm -f *.aux *.log *.bbl *.blg *.dvi *.tbx *.fgx *~ *.fff *.lof
70    
71