[Rcpp-commits] r538 - / scripts

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Mon Feb 1 02:47:01 CET 2010


Author: edd
Date: 2010-02-01 02:46:57 +0100 (Mon, 01 Feb 2010)
New Revision: 538

Added:
   scripts/
   scripts/runBuild.sh
   scripts/runDoxygenAndZip.sh
Log:
added two convenience scripts


Added: scripts/runBuild.sh
===================================================================
--- scripts/runBuild.sh	                        (rev 0)
+++ scripts/runBuild.sh	2010-02-01 01:46:57 UTC (rev 538)
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+export RCPP_CXX0X="yes"
+R CMD build --force pkg
\ No newline at end of file


Property changes on: scripts/runBuild.sh
___________________________________________________________________
Name: svn:executable
   + *

Added: scripts/runDoxygenAndZip.sh
===================================================================
--- scripts/runDoxygenAndZip.sh	                        (rev 0)
+++ scripts/runDoxygenAndZip.sh	2010-02-01 01:46:57 UTC (rev 538)
@@ -0,0 +1,22 @@
+#!/bin/sh
+
+if [ -x /usr/bin/doxygen ]; then 
+    cd pkg/inst/doc
+    rm -rf html/ latex/ man/
+    cd -
+    cd pkg
+    cd src && ln -s ../inst/examples . && cd -
+    doxygen
+    rm src/examples
+    cd -
+
+    cd pkg/inst/doc
+    zip -9r rcpp-doc-html.zip html/
+    zip -9r rcpp-doc-man.zip man
+    zip -9r rcpp-doc-latex.zip latex
+    if [ -d ~/www/code/rcpp/ ]; then
+	mv -v rcpp-doc-*.zip ~/www/code/rcpp/
+	rsync --delete -avu html ~/www/code/rcpp/
+    fi
+    cd -
+fi
\ No newline at end of file


Property changes on: scripts/runDoxygenAndZip.sh
___________________________________________________________________
Name: svn:executable
   + *



More information about the Rcpp-commits mailing list