From: edd Date: Tue, 17 Mar 2009 00:52:30 +0000 (+0000) Subject: added to create a file R/svnversion.R with a function to return the package-install... X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=a579ab6efe58edb8126b54bbcb371e68c71fdcbb;p=cran2deb.git 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 --- 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 +