X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=tags%2Fpre-dual%2Fconfigure;fp=tags%2Fpre-dual%2Fconfigure;h=fa1a12aec7a961015396be81abcea4a1d99fc414;hb=ab9547f1dd3779e34528a7a638ed085d5b9c5e26;hp=0000000000000000000000000000000000000000;hpb=4baac28764128067cb2fd6343321e7e0f522bdfd;p=cran2deb.git diff --git a/tags/pre-dual/configure b/tags/pre-dual/configure new file mode 100755 index 0000000..fa1a12a --- /dev/null +++ b/tags/pre-dual/configure @@ -0,0 +1,19 @@ +#!/bin/sh +# +# We are tricking the builds process into executing this so that we can +# extract an svn revision number from the source directory + +# do nothing if we are not in a svn repository +if [ ! -d .svn ]; then + exit +fi + +svnrev=$(svnversion | cut -f1 -d:) + +cat < R/svnversion.R +# Autogenerated by configure. Do not edit. +svnversion <- function() { + return("$svnrev") +} +EOF +