ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/langevinHull/Makefile
Revision: 3716
Committed: Thu Jan 27 00:00:20 2011 UTC (13 years, 5 months ago) by kstocke1
File size: 1570 byte(s)
Log Message:
Made changes from reviews.

File Contents

# User Rev Content
1 gezelter 3640 LBIN =/usr/local/bin
2 gezelter 3685 LC = pdflatex
3     BC = bibtex
4 gezelter 3640 PDF = Preview
5     D2PS = $(LBIN)/dvips
6     D2PDF = dvipdf
7     XDVI = $(LBIN)/xdvi
8     KDVI = kdvi
9    
10     .SUFFIXES: $(SUFFIXES) .dvi .ps .bib .tex .bbl .pdf
11    
12     PAPER_ROOT = langevinHull
13    
14     PICTURES = \
15     AffineScale.pdf \
16     AffineScale2.pdf \
17     compress_tb.pdf \
18     g_r_theta.pdf \
19     hydro.pdf \
20     pAngle.pdf \
21     pressure_tb.pdf \
22     temperature_tb.pdf
23    
24     INFILES = \
25     langevinHull.tex \
26     langevinHull.bib
27    
28     #
29     # standard rules:
30     #
31    
32     PSVIEWER = Preview
33     PDFVIEWER = Preview
34    
35     # ".dvi.ps" is the old-fashioned suffix rules = "%.ps: %.dvi"
36     #.dvi.ps:
37     %.ps: %.dvi
38     touch $*.ps
39     /bin/rm $*.ps
40     @echo "compiling $*"
41     $(D2PS) -o $*.ps $<
42    
43     .dvi.pdf:
44     touch $*.pdf
45     /bin/rm $*.pdf
46     @echo "compiling $*"
47     $(D2PDF) $< $*.pdf
48    
49     all:: ${PAPER_ROOT}.view
50    
51     dview:: ${PAPER_ROOT}.view
52    
53     gs:: ${PAPER_ROOT}.psview
54    
55     pdf:: ${PAPER_ROOT}.pdfview
56    
57 kstocke1 3716 ${PAPER_ROOT}.pdf: ${INFILES} ${PICTURES}
58 gezelter 3640 $(LC) --src-specials ${PAPER_ROOT}
59     $(BC) ${PAPER_ROOT}
60     $(LC) --src-specials ${PAPER_ROOT}
61     $(LC) --src-specials ${PAPER_ROOT}
62    
63     current.psview: current.ps
64     ${PSVIEWER} current.ps
65    
66     ${PAPER_ROOT}.psview: ${PAPER_ROOT}.ps
67     ${PSVIEWER} ${PAPER_ROOT}.ps
68    
69     ${PAPER_ROOT}.pdfview: ${PAPER_ROOT}.pdf
70     ${PDFVIEWER} ${PAPER_ROOT}.pdf
71    
72     #${PAPER_ROOT}.view: ${PAPER_ROOT}.dvi
73     # $(XDVI) -fg black ${PAPER_ROOT}
74    
75     print: ${PAPER_ROOT}.ps ${PAPER_ROOT}.pdf
76    
77 gezelter 3667 #${PAPER_ROOT}.view: ${PAPER_ROOT}.dvi
78     # $(KDVI) ${PAPER_ROOT}
79    
80 kstocke1 3716 ${PAPER_ROOT}.view: ${PAPER_ROOT}.pdf
81 gezelter 3667 open -a $(PDF) ${PAPER_ROOT}.pdf
82 gezelter 3640
83     clean::
84     /bin/rm -f *.aux *.log *.bbl *.blg *.dvi *.tbx *.fgx *~ *.fff *.lof *.lot mdripple.ps mdripple.pdf *.ttt

Properties

Name Value
svn:eol-style native