From a579ab6efe58edb8126b54bbcb371e68c71fdcbb Mon Sep 17 00:00:00 2001 From: edd Date: Tue, 17 Mar 2009 00:52:30 +0000 Subject: [PATCH] added to create a file R/svnversion.R with a function to return the package-install-time svn version git-svn-id: svn://svn.r-forge.r-project.org/svnroot/cran2deb@204 edb9625f-4e0d-4859-8d74-9fd3b1da38cb --- trunk/configure | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 trunk/configure diff --git a/trunk/configure b/trunk/configure new file mode 100755 index 0000000..81056f9 --- /dev/null +++ b/trunk/configure @@ -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 < R/svnversion.R +# Autogenerated by configure. Do not edit. +svnversion <- function() { + return($svnrev) +} +EOF + -- 2.39.5