ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/electrostaticMethodsPaper/Makefile
Revision: 2621
Committed: Wed Mar 15 14:24:12 2006 UTC (18 years, 3 months ago) by chrisfen
File size: 810 byte(s)
Log Message:
makefile should reload the preview window now (added an applescript)

File Contents

# Content
1 LC = pdflatex
2 BC = bibtex
3 PDF = Preview
4
5 .SUFFIXES: $(SUFFIXES) .dvi .ps .bib .tex .bbl .pdf
6
7 PAPER_ROOT = electrostaticMethods
8
9 PICTURES = \
10 comboSquare.pdf \
11 spectraSquare.pdf \
12 dualLinear.pdf \
13 slice.pdf \
14 delEplot.pdf \
15 frcMagplot.pdf \
16 frcTrqAngplot.pdf \
17 gaussFit.pdf \
18 trqMagplot.pdf
19
20
21 INFILES = \
22 electrostaticMethods.tex \
23 electrostaticMethods.bib
24
25 #
26 # standard rules:
27 #
28
29 all:: ${PAPER_ROOT}.view
30
31 ${PAPER_ROOT}.pdf: ${INFILES} ${PICTURES}
32 $(LC) ${PAPER_ROOT}
33 $(BC) ${PAPER_ROOT}
34 $(LC) ${PAPER_ROOT}
35 $(LC) ${PAPER_ROOT}
36
37 ${PAPER_ROOT}.view: ${PAPER_ROOT}.pdf
38 osascript "reload_preview.scpt" ${PAPER_ROOT}.pdf
39 open -a $(PDF) ${PAPER_ROOT}.pdf
40
41 clean::
42 /bin/rm -f *.aux *.log *.bbl *.blg *.dvi *.tbx *.fgx *~ *.fff *.lof *.lot electrostaticMethods.pdf SupportingInfo.pdf *.ttt
43
44