ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/matt_papers/original_proposal/Makefile
Revision: 59
Committed: Tue Jul 30 18:57:05 2002 UTC (21 years, 11 months ago) by mmeineke
File size: 1734 byte(s)
Log Message:
This commit was generated by cvs2svn to compensate for changes in r58, which
included commits to RCS files with non-trunk default branches.

File Contents

# User Rev Content
1 mmeineke 58 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 = original_proposal
11    
12     AIX_PSVIEWER = ghostview
13     Linux_PSVIEWER = ghostview
14     SunOS_PSVIEWER = ghostview
15    
16     INFILES = original_proposal.tex
17     # PICTURES =
18     #
19     # A very cool hack to "do the right thing":
20     PSVIEWER = ${$(OS)_PSVIEWER}
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}.view
38    
39     summary:: ${PAPER_ROOT}_summary.view
40    
41     outline:: ${OUTLINE}.view
42    
43     gs:: ${PAPER_ROOT}.psview
44    
45    
46     print: ${PAPER_ROOT}.ps ${PAPER_ROOT}.pdf
47     print_summary: ${PAPER_ROOT}_summary.ps ${PAPER_ROOT}_summary.pdf
48     print_outline: ${OUTLINE}.ps
49     lpr ${OUTLINE}.ps
50    
51     ${PAPER_ROOT}.dvi: ${INFILES} ${PAPER_ROOT}.bib ${PICTURES}
52     $(LC) ${PAPER_ROOT}
53     $(BC) ${PAPER_ROOT}
54     $(LC) ${PAPER_ROOT}
55     $(LC) ${PAPER_ROOT}
56    
57     ${PAPER_ROOT}_summary.dvi: ${PAPER_ROOT}_summary.tex ${PAPER_ROOT}.bib ${PICTURES}
58     $(LC) ${PAPER_ROOT}
59     $(BC) ${PAPER_ROOT}
60     $(LC) ${PAPER_ROOT}
61     $(LC) ${PAPER_ROOT}
62    
63     ${OUTLINE}.dvi: ${OUTLINE}.tex ${OUTLINE}.bib ${PICTURES}
64     $(LC) ${PAPER_ROOT}
65     $(BC) ${PAPER_ROOT}
66     $(LC) ${PAPER_ROOT}
67     $(LC) ${PAPER_ROOT}
68    
69     ${PAPER_ROOT}.psview: ${PAPER_ROOT}.ps
70     ${PSVIEWER} ${PAPER_ROOT}.ps
71    
72     ${PAPER_ROOT}.view: ${PAPER_ROOT}.dvi
73     $(XDVI) -fg black ${PAPER_ROOT}
74    
75     ${PAPER_ROOT}_summary.view: ${PAPER_ROOT}_summary.dvi
76     $(XDVI) -fg black ${PAPER_ROOT}_summary
77    
78     ${OUTLINE}.view: ${OUTLINE}.dvi
79     $(XDVI) -fg black ${OUTLINE}
80    
81     clean::
82     /bin/rm -f *.aux *.log *.bbl *.blg *.dvi *.tbx *.fgx *~ *.fff *.lof
83    
84