[Pomp-commits] r645 - pkg/inst/doc

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Thu Apr 5 21:43:44 CEST 2012


Author: kingaa
Date: 2012-04-05 21:43:44 +0200 (Thu, 05 Apr 2012)
New Revision: 645

Added:
   pkg/inst/doc/Makefile
Log:
- put Makefile back into inst/doc


Added: pkg/inst/doc/Makefile
===================================================================
--- pkg/inst/doc/Makefile	                        (rev 0)
+++ pkg/inst/doc/Makefile	2012-04-05 19:43:44 UTC (rev 645)
@@ -0,0 +1,25 @@
+RSCRIPT = $(R_HOME)/bin/Rscript --vanilla
+REXE = $(R_HOME)/bin/R --vanilla
+LATEX = latex
+BIBTEX = bibtex
+PDFLATEX = pdflatex
+
+default: vignettes clean
+
+vignettes: advanced_topics_in_pomp.pdf intro_to_pomp.pdf
+
+%.tex: %.Rnw
+	$(REXE) CMD Sweave $*
+
+%.pdf: %.tex
+	$(PDFLATEX) $*
+	-$(BIBTEX) $*
+	$(PDFLATEX) $*
+	$(PDFLATEX) $*
+	$(RSCRIPT) -e "tools::compactPDF(\"$*.pdf\")";
+
+clean:
+	$(RM) *.tex *.log *.aux *.blg *.bbl *.out *.Rout *.toc *.lof *.lot 
+	$(RM) Rplots.pdf
+	$(RM) intro_to_pomp-*.pdf advanced_topics_in_pomp-*.pdf 
+	$(RM) intro_to_pomp-*.png advanced_topics_in_pomp-*.png



More information about the pomp-commits mailing list