ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/matt_papers/canidacy_talk/Makefile
Revision: 62
Committed: Tue Aug 6 22:06:13 2002 UTC (22 years, 8 months ago) by mmeineke
File size: 1412 byte(s)
Log Message:

added a crapload of crap that may or may norbe neccassary. Time will tell. Also, got footnote references working.

File Contents

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