ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/matt_papers/MWTCC03/Makefile
Revision: 545
Committed: Wed Jun 4 16:07:35 2003 UTC (21 years ago) by mmeineke
File size: 1138 byte(s)
Log Message:
This commit was generated by cvs2svn to compensate for changes in r544,
which included commits to RCS files with non-trunk default branches.

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 = abstract
11 PICTURES =
12
13 AIX_PSVIEWER = ghostview
14 Linux_PSVIEWER = ghostview
15 SunOS_PSVIEWER = ghostview
16
17 INFILES = abstract.tex
18
19 #
20 # A very cool hack to "do the right thing":
21 PSVIEWER = ${$(OS)_PSVIEWER}
22 #
23 #
24 # standard rules:
25 #
26 .dvi.ps:
27 touch $*.ps
28 /bin/rm $*.ps
29 @echo "compiling $*"
30 $(D2PS) -o $*.ps $<
31
32 .dvi.pdf:
33 touch $*.pdf
34 /bin/rm $*.pdf
35 @echo "compiling $*"
36 $(D2PDF) $< $*.pdf
37
38 all:: ${PAPER_ROOT}.psview
39
40 outline:: ${OUTLINE}.view
41
42 gs:: ${PAPER_ROOT}.psview
43
44 print: ${PAPER_ROOT}.ps ${PAPER_ROOT}.pdf
45 print_outline: ${OUTLINE}.ps
46 lpr ${OUTLINE}.ps
47
48 ${PAPER_ROOT}.dvi: ${INFILES} ${PAPER_ROOT}.bib ${PICTURES}
49 $(LC) ${PAPER_ROOT}
50 $(BC) ${PAPER_ROOT}
51 $(LC) ${PAPER_ROOT}
52 $(LC) ${PAPER_ROOT}
53
54 ${PAPER_ROOT}.psview: ${PAPER_ROOT}.ps
55 ${PSVIEWER} ${PAPER_ROOT}.ps
56
57 ${PAPER_ROOT}.view: ${PAPER_ROOT}.dvi
58 $(XDVI) -fg black ${PAPER_ROOT}
59
60 clean::
61 /bin/rm -f *.aux *.log *.bbl *.blg *.dvi *.tbx *.fgx *~ *.fff *.lof
62
63