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
15
default : $(SOURCE).pdf
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