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

File Contents

# User Rev Content
1 mmeineke 56 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 = RSA
11    
12     AIX_PSVIEWER = ghostview
13     Linux_PSVIEWER = ghostview
14     SunOS_PSVIEWER = ghostview
15    
16     INFILES = RSA.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     outline:: ${OUTLINE}.view
40    
41     gs:: ${PAPER_ROOT}.psview
42    
43     print: ${PAPER_ROOT}.ps ${PAPER_ROOT}.pdf
44     print_outline: ${OUTLINE}.ps
45     lpr ${OUTLINE}.ps
46    
47     ${PAPER_ROOT}.dvi: ${INFILES} ${PAPER_ROOT}.bib ${PICTURES}
48     $(LC) ${PAPER_ROOT}
49     $(BC) ${PAPER_ROOT}
50     $(LC) ${PAPER_ROOT}
51     $(LC) ${PAPER_ROOT}
52    
53    
54     ${OUTLINE}.dvi: ${OUTLINE}.tex ${OUTLINE}.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     ${OUTLINE}.view: ${OUTLINE}.dvi
67     $(XDVI) -fg black ${OUTLINE}
68    
69     clean::
70     /bin/rm -f *.aux *.log *.bbl *.blg *.dvi *.tbx *.fgx *~ *.fff *.lof
71    
72