[Rcpp-commits] r1957 - pkg/Rcpp/inst/doc
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Tue Aug 10 00:41:57 CEST 2010
Author: edd
Date: 2010-08-10 00:41:56 +0200 (Tue, 10 Aug 2010)
New Revision: 1957
Modified:
pkg/Rcpp/inst/doc/Makefile
Log:
also ifdef making of Rcpp-introduction
Modified: pkg/Rcpp/inst/doc/Makefile
===================================================================
--- pkg/Rcpp/inst/doc/Makefile 2010-08-09 18:36:10 UTC (rev 1956)
+++ pkg/Rcpp/inst/doc/Makefile 2010-08-09 22:41:56 UTC (rev 1957)
@@ -45,7 +45,12 @@
Rcpp-introduction.pdf: Rcpp-introduction.Rnw
R CMD Sweave Rcpp-introduction.Rnw
+ifeq ($(whoami),edd)
+ pdflatex Rcpp-introduction.tex
+ pdflatex Rcpp-introduction.tex
+else
Rscript -e "tools::texi2dvi( 'Rcpp-introduction.tex', pdf = TRUE, clean = TRUE )"
+endif
rm -fr Rcpp-introduction.tex
Rcpp-modules.pdf: Rcpp-modules/Rcpp-modules.Rnw
@@ -176,4 +181,3 @@
rm -fr Rcpp-quickref.Rnw
cp Rcpp-quickref/Rcpp-quickref-fake.Rnw Rcpp-quickref.Rnw
-
More information about the Rcpp-commits
mailing list