~ubuntu-branches/ubuntu/raring/ess/raring-proposed

« back to all changes in this revision

Viewing changes to etc/useR-2006-ESS/Lab2/Makefile.HVTNscen

  • Committer: Bazaar Package Importer
  • Author(s): Dirk Eddelbuettel
  • Date: 2011-02-03 16:10:05 UTC
  • mfrom: (1.2.19 upstream)
  • Revision ID: james.westby@ubuntu.com-20110203161005-g1bg3cd5mtu15uh3
Tags: 5.13-1
New upstream version released today

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
SOURCE=HVTNscenarios
 
2
SWEAVE=./Sweave.sh
 
3
 
 
4
.SUFFIXES: .i3 .m3 .nw .tex .dvi .html .c .h .Rnw .pdf
 
5
##.nw.html: ;       $(NOWEAVE) -filter l2h -index -html $*.nw > $*.html
 
6
##.nw.tex:  ;       $(NOWEAVE) -index -delay $*.nw | cpif $*.tex
 
7
##.nw.h:  ;       $(NOTANGLE) -R$*.h | cpif $*.h
 
8
##.nw.c:  ;       $(NOTANGLE) -R$*.c | cpif $*.c
 
9
##.Rnw.tex: ;       $(SWEAVE) $*.Rnw
 
10
##.tex.pdf: ;       pdflatex '\scrollmode \input '"$*"; while grep -s 'Rerun to get cross-references right' $*.log; do pdflatex '\scrollmode \input '"$*"; done
 
11
##.tex.dvi: ;          latex '\scrollmode \input '"$*"; while grep -s 'Rerun to get cross-references right' $*.log; do    latex '\scrollmode \input '"$*"; done
 
12
.Rnw.pdf: ;       $(SWEAVE) $*.Rnw ; pdflatex '\scrollmode \input '"$*"; bibtex $* ;while grep -s 'Rerun to get cross-references right' $*.log; do pdflatex '\scrollmode \input '"$*"; done
 
13
 
 
14
 
 
15
default : $(SOURCE).pdf 
 
16
        xpdf $(SOURCE).pdf
 
17
 
 
18
finalPDF : 
 
19
        thumbpdf $(SOURCE)
 
20
        pdflatex $(SOURCE)
 
21
 
 
22
 
 
23
#$(SOURCE).dvi $(SOURCE).ps
 
24
$(SOURCE).pdf : $(SOURCE).tex
 
25
$(SOURCE).tex : $(SOURCE).Rnw
 
26
#$(SOURCE).dvi : $(SOURCE).tex
 
27
#$(SOURCE).ps  : $(SOURCE).dvi
 
28
#       dvips $(SOURCE) -o
 
29
 
 
30