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

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Sat Oct 16 13:54:05 CEST 2010


Author: edd
Date: 2010-10-16 13:54:05 +0200 (Sat, 16 Oct 2010)
New Revision: 2304

Modified:
   pkg/Rcpp/inst/doc/Makefile
Log:
do not remove pdf files in clean step
also minor rewrite (do not bother with rm before cp)


Modified: pkg/Rcpp/inst/doc/Makefile
===================================================================
--- pkg/Rcpp/inst/doc/Makefile	2010-10-16 11:48:32 UTC (rev 2303)
+++ pkg/Rcpp/inst/doc/Makefile	2010-10-16 11:54:05 UTC (rev 2304)
@@ -59,8 +59,7 @@
 	Rscript -e "tools::texi2dvi( 'Rcpp-modules.tex', pdf = TRUE, clean = TRUE )"
 endif
 	rm -fr Rcpp-modules.tex Rcpp-modules.bbl Rcpp-modules.blg Rcpp-modules.aux Rcpp-modules.out Rcpp-modules.log
-	rm Rcpp-modules.Rnw
-	cp Rcpp-modules/Rcpp-modules-fake.Rnw Rcpp-modules.Rnw
+	cp -f Rcpp-modules/Rcpp-modules-fake.Rnw Rcpp-modules.Rnw
 
 Rcpp-package.pdf : Rcpp-package/Rcpp-package.Rnw
 	cp -f Rcpp-package/Rcpp-package.Rnw .
@@ -74,8 +73,7 @@
 	Rscript -e "tools::texi2dvi( 'Rcpp-package.tex', pdf = TRUE, clean = TRUE )"
 endif
 	rm -fr Rcpp-package.tex Rcpp-package.bbl Rcpp-package.blg Rcpp-package.aux Rcpp-package.out Rcpp-package.log
-	rm Rcpp-package.Rnw
-	cp Rcpp-package/Rcpp-package-fake.Rnw Rcpp-package.Rnw
+	cp -f Rcpp-package/Rcpp-package-fake.Rnw Rcpp-package.Rnw
 
 Rcpp-FAQ.pdf : Rcpp-FAQ/Rcpp-FAQ.Rnw
 	cp -f Rcpp-FAQ/Rcpp-FAQ.Rnw .
@@ -89,8 +87,7 @@
 	Rscript -e "tools::texi2dvi( 'Rcpp-FAQ.tex', pdf = TRUE, clean = TRUE )"
 endif
 	rm -fr Rcpp-FAQ.tex Rcpp-FAQ.bbl Rcpp-FAQ.blg Rcpp-FAQ.aux Rcpp-FAQ.out Rcpp-FAQ.log
-	rm Rcpp-FAQ.Rnw
-	cp Rcpp-FAQ/Rcpp-FAQ-fake.Rnw Rcpp-FAQ.Rnw
+	cp -f Rcpp-FAQ/Rcpp-FAQ-fake.Rnw Rcpp-FAQ.Rnw
 
 Rcpp-extending.pdf : Rcpp-extending/Rcpp-extending.Rnw
 	cp -f Rcpp-extending/Rcpp-extending.Rnw .
@@ -104,8 +101,7 @@
 	Rscript -e "tools::texi2dvi( 'Rcpp-extending.tex', pdf = TRUE, clean = TRUE )"
 endif
 	rm -fr Rcpp-extending.tex Rcpp-extending.bbl Rcpp-extending.blg Rcpp-extending.aux Rcpp-extending.out Rcpp-extending.log
-	rm Rcpp-extending.Rnw
-	cp Rcpp-extending/Rcpp-extending-fake.Rnw Rcpp-extending.Rnw
+	cp -f Rcpp-extending/Rcpp-extending-fake.Rnw Rcpp-extending.Rnw
 
 Rcpp-sugar.pdf : Rcpp-sugar/Rcpp-sugar.Rnw
 	cp -f Rcpp-sugar/Rcpp-sugar.Rnw .
@@ -133,12 +129,6 @@
 else
 	Rscript -e "tools::texi2dvi( 'Rcpp-quickref.tex', pdf = TRUE, clean = TRUE )"
 endif
-	rm -fr Rcpp-quickref.tex
-	rm -fr Rcpp-quickref.bbl
-	rm -fr Rcpp-quickref.blg
-	rm -fr Rcpp-quickref.aux
-	rm -fr Rcpp-quickref.out
-	rm -fr Rcpp-quickref.log
-	rm -fr Rcpp-quickref.Rnw
-	cp Rcpp-quickref/Rcpp-quickref-fake.Rnw Rcpp-quickref.Rnw
+	rm -fr Rcpp-quickref.tex Rcpp-quickref.bbl Rcpp-quickref.blg Rcpp-quickref.aux Rcpp-quickref.out Rcpp-quickref.log Rcpp-quickref.Rnw
+	cp -f Rcpp-quickref/Rcpp-quickref-fake.Rnw Rcpp-quickref.Rnw
 



More information about the Rcpp-commits mailing list