[Rinside-commits] r138 - scripts
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Tue Mar 23 03:19:22 CET 2010
Author: edd
Date: 2010-03-23 03:19:22 +0100 (Tue, 23 Mar 2010)
New Revision: 138
Added:
scripts/runBuild
Modified:
scripts/runDoxygen
Log:
added runBuild script, updated runDoxygen now that Doxygen sources are no longer include
Added: scripts/runBuild
===================================================================
--- scripts/runBuild (rev 0)
+++ scripts/runBuild 2010-03-23 02:19:22 UTC (rev 138)
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+set -e
+
+if [ ! -d pkg ]; then
+ echo "No directory pkg"
+ exit -1
+fi
+
+version=$(r -e'cat(as.character(read.dcf("pkg/DESCRIPTION")[,"Version"]))')
+echo "Working on version $version"
+
+R CMD build --force pkg
+
+test -d ~/www/code/rinside && cp -vax RInside_${version}.tar.gz ~/www/code/rinside
+
+
Property changes on: scripts/runBuild
___________________________________________________________________
Name: svn:executable
+ *
Modified: scripts/runDoxygen
===================================================================
--- scripts/runDoxygen 2010-03-23 00:59:49 UTC (rev 137)
+++ scripts/runDoxygen 2010-03-23 02:19:22 UTC (rev 138)
@@ -26,4 +26,27 @@
cd ${cwd}
pwd
+ cd inst/doc
+ zip -9r rinside-doc-html.zip html/
+ zip -9r rinside-doc-man.zip man
+ zip -9r rinside-doc-latex.zip latex
+ if [ -d ~/www/code/rinside/ ]; then
+ mv -v rinside-doc-*.zip ~/www/code/rinside/
+ rsync --delete -avu html ~/www/code/rinside/
+ fi
+ cd ${cwd}
+
+ cd inst/doc/latex
+ pdflatex refman
+ pdflatex refman
+ if [ -d ~/www/code/rinside/ ]; then
+ cp -vax refman.pdf ~/www/code/rinside/RInside_refman.pdf
+ fi
+ cd ${cwd}
+
+# if [ -d ~/www/code/rinside/ ]; then
+# cp -vax inst/doc/RInside-*.pdf ~/www/code/rinside
+# fi
+# cd ${cwd}
+
fi
\ No newline at end of file
More information about the Rinside-commits
mailing list