[Rcpp-commits] r859 - pkg/Rcpp/inst/doc

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Mon Mar 8 10:24:44 CET 2010


Author: romain
Date: 2010-03-08 10:24:44 +0100 (Mon, 08 Mar 2010)
New Revision: 859

Modified:
   pkg/Rcpp/inst/doc/Makefile
   pkg/Rcpp/inst/doc/rcpp.index.html
Log:
support for building the Rcp-introduction vignett

Modified: pkg/Rcpp/inst/doc/Makefile
===================================================================
--- pkg/Rcpp/inst/doc/Makefile	2010-03-07 22:47:50 UTC (rev 858)
+++ pkg/Rcpp/inst/doc/Makefile	2010-03-08 09:24:44 UTC (rev 859)
@@ -1,8 +1,10 @@
 
-all: clean index.html Rcpp-unitTests.pdf
+all: clean index.html Rcpp-unitTests.pdf Rcpp-introduction.pdf
 
 clean:
 	touch Rcpp-unitTests.pdf
+	touch Rcpp-introduction.pdf
+	rm Rcpp-introduction.pdf
 	rm Rcpp-unitTests.pdf
 	touch index.html
 	rm index.html
@@ -22,4 +24,8 @@
 	Rscript -e "tools::texi2dvi( 'Rcpp-api.tex', pdf = TRUE, clean = TRUE ) "
 	rm -fr Rcpp-api.tex
 
+Rcpp-introduction.pdf: Rcpp-introduction.Rnw
+	R CMD Sweave Rcpp-introduction.Rnw
+	Rscript -e "tools::texi2dvi( 'Rcpp-introduction.tex', pdf = TRUE, clean = TRUE )"
+	rm -fr Rcpp-introduction.tex
 

Modified: pkg/Rcpp/inst/doc/rcpp.index.html
===================================================================
--- pkg/Rcpp/inst/doc/rcpp.index.html	2010-03-07 22:47:50 UTC (rev 858)
+++ pkg/Rcpp/inst/doc/rcpp.index.html	2010-03-08 09:24:44 UTC (rev 859)
@@ -4,6 +4,7 @@
 </head><body>
 <h2>Vignettes of package Rcpp </h2>
 <ul>
+<li><a href="Rcpp-introduction.pdf">(pdf) introduction to Rcpp (article submitted to the R journal)</a></li>
 <li><a href="unitTests-results/Rcpp-unitTests.html">unit tests</a>:(html) unit test report</li>
 <li><a href="Rcpp-unitTests.pdf">unit tests</a>: (pdf) unit test report</li>
 </ul>



More information about the Rcpp-commits mailing list