ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/oopsePaper/Makefile
Revision: 3389
Committed: Tue Apr 29 17:50:49 2008 UTC (16 years, 2 months ago) by gezelter
File size: 1073 byte(s)
Log Message:
Changes about metals

File Contents

# Content
1 LBIN =/usr/local/bin
2 LC = $(LBIN)/latex
3 BC = $(LBIN)/bibtex
4 D2PS = $(LBIN)/dvips
5 D2PDF = dvipdf
6 XDVI = $(LBIN)/xdvi
7
8 .SUFFIXES: $(SUFFIXES) .dvi .ps .bib .tex .bbl .pdf
9
10 PAPER_ROOT = oopseDoc
11 PICTURES =
12
13 #
14 # A very cool hack to "do the right thing":
15 PSVIEWER = ghostview
16 #
17 #
18 # standard rules:
19 #
20 .dvi.ps:
21 touch $*.ps
22 /bin/rm $*.ps
23 @echo "compiling $*"
24 $(D2PS) -o $*.ps $<
25
26 .dvi.pdf:
27 touch $*.pdf
28 /bin/rm $*.pdf
29 @echo "compiling $*"
30 $(D2PDF) $< $*.pdf
31
32 all:: ${PAPER_ROOT}.view
33
34 dview:: ${PAPER_ROOT}.view
35
36 current:: current.psview
37
38 outline:: ${OUTLINE}.view
39
40 gs:: ${PAPER_ROOT}.psview
41
42 print: ${PAPER_ROOT}.ps ${PAPER_ROOT}.pdf
43
44 ${PAPER_ROOT}.dvi: ${PAPER_ROOT}.tex ${PAPER_ROOT}.bib
45 $(LC) ${PAPER_ROOT}
46 $(BC) ${PAPER_ROOT}
47 $(LC) ${PAPER_ROOT}
48 $(LC) ${PAPER_ROOT}
49
50 current.psview: current.ps
51 ${PSVIEWER} current.ps
52
53 ${PAPER_ROOT}.psview: ${PAPER_ROOT}.ps
54 ${PSVIEWER} ${PAPER_ROOT}.ps
55
56 ${PAPER_ROOT}.view: ${PAPER_ROOT}.dvi
57 $(XDVI) -fg black ${PAPER_ROOT}
58
59 clean::
60 /bin/rm -f *.aux *.log *.bbl *.blg *.dvi *.tbx *.fgx *~ *.fff *.lof mule.* *.lot *.ttt
61
62