]> git.donarmstrong.com Git - cran2deb.git/commitdiff
added to create a file R/svnversion.R with a function to return the package-install...
authoredd <edd@edb9625f-4e0d-4859-8d74-9fd3b1da38cb>
Tue, 17 Mar 2009 00:52:30 +0000 (00:52 +0000)
committeredd <edd@edb9625f-4e0d-4859-8d74-9fd3b1da38cb>
Tue, 17 Mar 2009 00:52:30 +0000 (00:52 +0000)
git-svn-id: svn://svn.r-forge.r-project.org/svnroot/cran2deb@204 edb9625f-4e0d-4859-8d74-9fd3b1da38cb

trunk/configure [new file with mode: 0755]

diff --git a/trunk/configure b/trunk/configure
new file mode 100755 (executable)
index 0000000..81056f9
--- /dev/null
@@ -0,0 +1,14 @@
+#!/bin/sh
+#
+# We are tricking the builds process into executing this so that we can
+# extract an svn revision number from the source directory
+
+svnrev=`svnversion | cut -f1 -d:`
+
+cat <<EOF > R/svnversion.R
+# Autogenerated by configure. Do not edit.
+svnversion <- function() {
+  return($svnrev)
+}
+EOF
+