ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/matt_papers/canidacy_talk/Makefile
Revision: 55
Committed: Tue Jul 30 18:31:15 2002 UTC (22 years, 1 month ago) by mmeineke
File size: 1403 byte(s)
Log Message:
fixed the Makefile

File Contents

# User Rev Content
1 mmeineke 49 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 mmeineke 54 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
15 mmeineke 49
16    
17    
18 mmeineke 54
19 mmeineke 49 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